[jira] [Commented] (KYLIN-4211) PartitionDesc support custom year、month、day partitions name

2020-06-04 Thread nichunen (Jira)


[ 
https://issues.apache.org/jira/browse/KYLIN-4211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17126266#comment-17126266
 ] 

nichunen commented on KYLIN-4211:
-

Verified.

> PartitionDesc support custom year、month、day partitions name
> ---
>
> Key: KYLIN-4211
> URL: https://issues.apache.org/jira/browse/KYLIN-4211
> Project: Kylin
>  Issue Type: Improvement
>Reporter: chuxiao
>Assignee: chuxiao
>Priority: Major
> Fix For: v3.1.0
>
> Attachments: KYLIN-4211.master.001.patch
>
>
> YearMonthDayPartitionConditionBuilder supports partition named year, month, 
> day, but can not support partition names like Y, M, D.
> Because there are user using  fact table partitioned by Y, M, D, so add 
> CustomYearMonthDayFieldPartitionConditionBuilder, support custom year, month, 
> day partitions name.
> Partition metadata in model.json like:
> {
>   "uuid" : "459d48c1-a8a6-cdf5-6ea7-e2ae48b248e9",
>   "last_modified" : 1571652918478,
>   "version" : "2.6.0.20500",
>   "name" : "kylin_sales_ymd",
>   "owner" : "admin",
>   "is_draft" : false,
>   "description" : "",
>   "fact_table" : "BIGDATA_KYLIN.KYLIN_SALES_YMD",
>   "lookups" : [ ],
>   "dimensions" : [ {
> "table" : "KYLIN_SALES_YMD",
> "columns" : [ "LEAF_CATEG_ID", "TRANS_ID", "SLR_SEGMENT_CD", "SELLER_ID", 
> "BUYER_ID", "OPS_USER_ID", "OPS_REGION", "Y", "M", "D" ]
>   } ],
>   "metrics" : [ "KYLIN_SALES_YMD.PRICE", "KYLIN_SALES_YMD.ITEM_COUNT" ],
>   "filter_condition" : "",
>   "partition_desc" : {
> "partition_date_column" : "KYLIN_SALES_YMD.Y, KYLIN_SALES_YMD.M, 
> KYLIN_SALES_YMD.D",
> "partition_time_column" : null,
> "partition_date_start" : 0,
> "partition_date_format" : "-MM-dd",
> "partition_time_format" : "HH:mm:ss",
> "partition_type" : "APPEND",
> "partition_condition_builder" : 
> "org.apache.kylin.metadata.model.PartitionDesc$CustomYearMonthDayFieldPartitionConditionBuilder"
>   },
>   "capacity" : "MEDIUM"
> }
> Partition_date_column is the year, month, and day partition field split by 
> ','., and Partition_condition_builder is 
> org.apache.kylin.metadata.model.PartitionDesc$CustomYearMonthDayFieldPartitionConditionBuilder
> Web can create a normal model and  "Edit JSON"  on Kylin web



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (KYLIN-4211) PartitionDesc support custom year、month、day partitions name

2019-12-19 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/KYLIN-4211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17000111#comment-17000111
 ] 

ASF subversion and git services commented on KYLIN-4211:


Commit bb839ffe7ef4241ce8afe56b1f9f074528053897 in kylin's branch 
refs/heads/master from Chunen Ni
[ https://gitbox.apache.org/repos/asf?p=kylin.git;h=bb839ff ]

Minor fix for the front end of issue KYLIN-4211


> PartitionDesc support custom year、month、day partitions name
> ---
>
> Key: KYLIN-4211
> URL: https://issues.apache.org/jira/browse/KYLIN-4211
> Project: Kylin
>  Issue Type: Improvement
>Reporter: chuxiao
>Priority: Major
> Fix For: v3.1.0
>
> Attachments: KYLIN-4211.master.001.patch
>
>
> YearMonthDayPartitionConditionBuilder supports partition named year, month, 
> day, but can not support partition names like Y, M, D.
> Because there are user using  fact table partitioned by Y, M, D, so add 
> CustomYearMonthDayFieldPartitionConditionBuilder, support custom year, month, 
> day partitions name.
> Partition metadata in model.json like:
> {
>   "uuid" : "459d48c1-a8a6-cdf5-6ea7-e2ae48b248e9",
>   "last_modified" : 1571652918478,
>   "version" : "2.6.0.20500",
>   "name" : "kylin_sales_ymd",
>   "owner" : "admin",
>   "is_draft" : false,
>   "description" : "",
>   "fact_table" : "BIGDATA_KYLIN.KYLIN_SALES_YMD",
>   "lookups" : [ ],
>   "dimensions" : [ {
> "table" : "KYLIN_SALES_YMD",
> "columns" : [ "LEAF_CATEG_ID", "TRANS_ID", "SLR_SEGMENT_CD", "SELLER_ID", 
> "BUYER_ID", "OPS_USER_ID", "OPS_REGION", "Y", "M", "D" ]
>   } ],
>   "metrics" : [ "KYLIN_SALES_YMD.PRICE", "KYLIN_SALES_YMD.ITEM_COUNT" ],
>   "filter_condition" : "",
>   "partition_desc" : {
> "partition_date_column" : "KYLIN_SALES_YMD.Y, KYLIN_SALES_YMD.M, 
> KYLIN_SALES_YMD.D",
> "partition_time_column" : null,
> "partition_date_start" : 0,
> "partition_date_format" : "-MM-dd",
> "partition_time_format" : "HH:mm:ss",
> "partition_type" : "APPEND",
> "partition_condition_builder" : 
> "org.apache.kylin.metadata.model.PartitionDesc$CustomYearMonthDayFieldPartitionConditionBuilder"
>   },
>   "capacity" : "MEDIUM"
> }
> Partition_date_column is the year, month, and day partition field split by 
> ','., and Partition_condition_builder is 
> org.apache.kylin.metadata.model.PartitionDesc$CustomYearMonthDayFieldPartitionConditionBuilder
> Web can create a normal model and  "Edit JSON"  on Kylin web



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (KYLIN-4211) PartitionDesc support custom year、month、day partitions name

2019-12-19 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/KYLIN-4211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17000108#comment-17000108
 ] 

ASF GitHub Bot commented on KYLIN-4211:
---

nichunen commented on pull request #1010: Minor fix for the front end of issue 
KYLIN-4211
URL: https://github.com/apache/kylin/pull/1010
 
 
   
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> PartitionDesc support custom year、month、day partitions name
> ---
>
> Key: KYLIN-4211
> URL: https://issues.apache.org/jira/browse/KYLIN-4211
> Project: Kylin
>  Issue Type: Improvement
>Reporter: chuxiao
>Priority: Major
> Fix For: v3.1.0
>
> Attachments: KYLIN-4211.master.001.patch
>
>
> YearMonthDayPartitionConditionBuilder supports partition named year, month, 
> day, but can not support partition names like Y, M, D.
> Because there are user using  fact table partitioned by Y, M, D, so add 
> CustomYearMonthDayFieldPartitionConditionBuilder, support custom year, month, 
> day partitions name.
> Partition metadata in model.json like:
> {
>   "uuid" : "459d48c1-a8a6-cdf5-6ea7-e2ae48b248e9",
>   "last_modified" : 1571652918478,
>   "version" : "2.6.0.20500",
>   "name" : "kylin_sales_ymd",
>   "owner" : "admin",
>   "is_draft" : false,
>   "description" : "",
>   "fact_table" : "BIGDATA_KYLIN.KYLIN_SALES_YMD",
>   "lookups" : [ ],
>   "dimensions" : [ {
> "table" : "KYLIN_SALES_YMD",
> "columns" : [ "LEAF_CATEG_ID", "TRANS_ID", "SLR_SEGMENT_CD", "SELLER_ID", 
> "BUYER_ID", "OPS_USER_ID", "OPS_REGION", "Y", "M", "D" ]
>   } ],
>   "metrics" : [ "KYLIN_SALES_YMD.PRICE", "KYLIN_SALES_YMD.ITEM_COUNT" ],
>   "filter_condition" : "",
>   "partition_desc" : {
> "partition_date_column" : "KYLIN_SALES_YMD.Y, KYLIN_SALES_YMD.M, 
> KYLIN_SALES_YMD.D",
> "partition_time_column" : null,
> "partition_date_start" : 0,
> "partition_date_format" : "-MM-dd",
> "partition_time_format" : "HH:mm:ss",
> "partition_type" : "APPEND",
> "partition_condition_builder" : 
> "org.apache.kylin.metadata.model.PartitionDesc$CustomYearMonthDayFieldPartitionConditionBuilder"
>   },
>   "capacity" : "MEDIUM"
> }
> Partition_date_column is the year, month, and day partition field split by 
> ','., and Partition_condition_builder is 
> org.apache.kylin.metadata.model.PartitionDesc$CustomYearMonthDayFieldPartitionConditionBuilder
> Web can create a normal model and  "Edit JSON"  on Kylin web



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (KYLIN-4211) PartitionDesc support custom year、month、day partitions name

2019-12-17 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/KYLIN-4211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16997963#comment-16997963
 ] 

ASF subversion and git services commented on KYLIN-4211:


Commit 2b830a3e6d6e17d488af307d030e0d73d094aa74 in kylin's branch 
refs/heads/master from bigxiaochu
[ https://gitbox.apache.org/repos/asf?p=kylin.git;h=2b830a3 ]

KYLIN-4211 PartitionDesc support custom year、month、day partitions name


> PartitionDesc support custom year、month、day partitions name
> ---
>
> Key: KYLIN-4211
> URL: https://issues.apache.org/jira/browse/KYLIN-4211
> Project: Kylin
>  Issue Type: Improvement
>Reporter: chuxiao
>Priority: Major
> Fix For: v3.1.0
>
> Attachments: KYLIN-4211.master.001.patch
>
>
> YearMonthDayPartitionConditionBuilder supports partition named year, month, 
> day, but can not support partition names like Y, M, D.
> Because there are user using  fact table partitioned by Y, M, D, so add 
> CustomYearMonthDayFieldPartitionConditionBuilder, support custom year, month, 
> day partitions name.
> Partition metadata in model.json like:
> {
>   "uuid" : "459d48c1-a8a6-cdf5-6ea7-e2ae48b248e9",
>   "last_modified" : 1571652918478,
>   "version" : "2.6.0.20500",
>   "name" : "kylin_sales_ymd",
>   "owner" : "admin",
>   "is_draft" : false,
>   "description" : "",
>   "fact_table" : "BIGDATA_KYLIN.KYLIN_SALES_YMD",
>   "lookups" : [ ],
>   "dimensions" : [ {
> "table" : "KYLIN_SALES_YMD",
> "columns" : [ "LEAF_CATEG_ID", "TRANS_ID", "SLR_SEGMENT_CD", "SELLER_ID", 
> "BUYER_ID", "OPS_USER_ID", "OPS_REGION", "Y", "M", "D" ]
>   } ],
>   "metrics" : [ "KYLIN_SALES_YMD.PRICE", "KYLIN_SALES_YMD.ITEM_COUNT" ],
>   "filter_condition" : "",
>   "partition_desc" : {
> "partition_date_column" : "KYLIN_SALES_YMD.Y, KYLIN_SALES_YMD.M, 
> KYLIN_SALES_YMD.D",
> "partition_time_column" : null,
> "partition_date_start" : 0,
> "partition_date_format" : "-MM-dd",
> "partition_time_format" : "HH:mm:ss",
> "partition_type" : "APPEND",
> "partition_condition_builder" : 
> "org.apache.kylin.metadata.model.PartitionDesc$CustomYearMonthDayFieldPartitionConditionBuilder"
>   },
>   "capacity" : "MEDIUM"
> }
> Partition_date_column is the year, month, and day partition field split by 
> ','., and Partition_condition_builder is 
> org.apache.kylin.metadata.model.PartitionDesc$CustomYearMonthDayFieldPartitionConditionBuilder
> Web can create a normal model and  "Edit JSON"  on Kylin web



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (KYLIN-4211) PartitionDesc support custom year、month、day partitions name

2019-12-17 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/KYLIN-4211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16997965#comment-16997965
 ] 

ASF subversion and git services commented on KYLIN-4211:


Commit cedc430f7125b89bc17ca9d7b92f6581f33b4e48 in kylin's branch 
refs/heads/master from Chunen Ni
[ https://gitbox.apache.org/repos/asf?p=kylin.git;h=cedc430 ]

KYLIN-4211 Front end for the feature of setting date partition in different 
columns


> PartitionDesc support custom year、month、day partitions name
> ---
>
> Key: KYLIN-4211
> URL: https://issues.apache.org/jira/browse/KYLIN-4211
> Project: Kylin
>  Issue Type: Improvement
>Reporter: chuxiao
>Priority: Major
> Fix For: v3.1.0
>
> Attachments: KYLIN-4211.master.001.patch
>
>
> YearMonthDayPartitionConditionBuilder supports partition named year, month, 
> day, but can not support partition names like Y, M, D.
> Because there are user using  fact table partitioned by Y, M, D, so add 
> CustomYearMonthDayFieldPartitionConditionBuilder, support custom year, month, 
> day partitions name.
> Partition metadata in model.json like:
> {
>   "uuid" : "459d48c1-a8a6-cdf5-6ea7-e2ae48b248e9",
>   "last_modified" : 1571652918478,
>   "version" : "2.6.0.20500",
>   "name" : "kylin_sales_ymd",
>   "owner" : "admin",
>   "is_draft" : false,
>   "description" : "",
>   "fact_table" : "BIGDATA_KYLIN.KYLIN_SALES_YMD",
>   "lookups" : [ ],
>   "dimensions" : [ {
> "table" : "KYLIN_SALES_YMD",
> "columns" : [ "LEAF_CATEG_ID", "TRANS_ID", "SLR_SEGMENT_CD", "SELLER_ID", 
> "BUYER_ID", "OPS_USER_ID", "OPS_REGION", "Y", "M", "D" ]
>   } ],
>   "metrics" : [ "KYLIN_SALES_YMD.PRICE", "KYLIN_SALES_YMD.ITEM_COUNT" ],
>   "filter_condition" : "",
>   "partition_desc" : {
> "partition_date_column" : "KYLIN_SALES_YMD.Y, KYLIN_SALES_YMD.M, 
> KYLIN_SALES_YMD.D",
> "partition_time_column" : null,
> "partition_date_start" : 0,
> "partition_date_format" : "-MM-dd",
> "partition_time_format" : "HH:mm:ss",
> "partition_type" : "APPEND",
> "partition_condition_builder" : 
> "org.apache.kylin.metadata.model.PartitionDesc$CustomYearMonthDayFieldPartitionConditionBuilder"
>   },
>   "capacity" : "MEDIUM"
> }
> Partition_date_column is the year, month, and day partition field split by 
> ','., and Partition_condition_builder is 
> org.apache.kylin.metadata.model.PartitionDesc$CustomYearMonthDayFieldPartitionConditionBuilder
> Web can create a normal model and  "Edit JSON"  on Kylin web



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (KYLIN-4211) PartitionDesc support custom year、month、day partitions name

2019-12-17 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/KYLIN-4211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16997962#comment-16997962
 ] 

ASF GitHub Bot commented on KYLIN-4211:
---

nichunen commented on pull request #904: KYLIN-4211 PartitionDesc support 
custom year、month、day partitions name
URL: https://github.com/apache/kylin/pull/904
 
 
   
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> PartitionDesc support custom year、month、day partitions name
> ---
>
> Key: KYLIN-4211
> URL: https://issues.apache.org/jira/browse/KYLIN-4211
> Project: Kylin
>  Issue Type: Improvement
>Reporter: chuxiao
>Priority: Major
> Fix For: v3.1.0
>
> Attachments: KYLIN-4211.master.001.patch
>
>
> YearMonthDayPartitionConditionBuilder supports partition named year, month, 
> day, but can not support partition names like Y, M, D.
> Because there are user using  fact table partitioned by Y, M, D, so add 
> CustomYearMonthDayFieldPartitionConditionBuilder, support custom year, month, 
> day partitions name.
> Partition metadata in model.json like:
> {
>   "uuid" : "459d48c1-a8a6-cdf5-6ea7-e2ae48b248e9",
>   "last_modified" : 1571652918478,
>   "version" : "2.6.0.20500",
>   "name" : "kylin_sales_ymd",
>   "owner" : "admin",
>   "is_draft" : false,
>   "description" : "",
>   "fact_table" : "BIGDATA_KYLIN.KYLIN_SALES_YMD",
>   "lookups" : [ ],
>   "dimensions" : [ {
> "table" : "KYLIN_SALES_YMD",
> "columns" : [ "LEAF_CATEG_ID", "TRANS_ID", "SLR_SEGMENT_CD", "SELLER_ID", 
> "BUYER_ID", "OPS_USER_ID", "OPS_REGION", "Y", "M", "D" ]
>   } ],
>   "metrics" : [ "KYLIN_SALES_YMD.PRICE", "KYLIN_SALES_YMD.ITEM_COUNT" ],
>   "filter_condition" : "",
>   "partition_desc" : {
> "partition_date_column" : "KYLIN_SALES_YMD.Y, KYLIN_SALES_YMD.M, 
> KYLIN_SALES_YMD.D",
> "partition_time_column" : null,
> "partition_date_start" : 0,
> "partition_date_format" : "-MM-dd",
> "partition_time_format" : "HH:mm:ss",
> "partition_type" : "APPEND",
> "partition_condition_builder" : 
> "org.apache.kylin.metadata.model.PartitionDesc$CustomYearMonthDayFieldPartitionConditionBuilder"
>   },
>   "capacity" : "MEDIUM"
> }
> Partition_date_column is the year, month, and day partition field split by 
> ','., and Partition_condition_builder is 
> org.apache.kylin.metadata.model.PartitionDesc$CustomYearMonthDayFieldPartitionConditionBuilder
> Web can create a normal model and  "Edit JSON"  on Kylin web



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (KYLIN-4211) PartitionDesc support custom year、month、day partitions name

2019-12-17 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/KYLIN-4211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16997964#comment-16997964
 ] 

ASF subversion and git services commented on KYLIN-4211:


Commit 28e6a333960675721e39485319aa0cf516bbed98 in kylin's branch 
refs/heads/master from Chunen Ni
[ https://gitbox.apache.org/repos/asf?p=kylin.git;h=28e6a33 ]

KYLIN-4211 Add unit test case for 
CustomYearMonthDayFieldPartitionConditionBuilder


> PartitionDesc support custom year、month、day partitions name
> ---
>
> Key: KYLIN-4211
> URL: https://issues.apache.org/jira/browse/KYLIN-4211
> Project: Kylin
>  Issue Type: Improvement
>Reporter: chuxiao
>Priority: Major
> Fix For: v3.1.0
>
> Attachments: KYLIN-4211.master.001.patch
>
>
> YearMonthDayPartitionConditionBuilder supports partition named year, month, 
> day, but can not support partition names like Y, M, D.
> Because there are user using  fact table partitioned by Y, M, D, so add 
> CustomYearMonthDayFieldPartitionConditionBuilder, support custom year, month, 
> day partitions name.
> Partition metadata in model.json like:
> {
>   "uuid" : "459d48c1-a8a6-cdf5-6ea7-e2ae48b248e9",
>   "last_modified" : 1571652918478,
>   "version" : "2.6.0.20500",
>   "name" : "kylin_sales_ymd",
>   "owner" : "admin",
>   "is_draft" : false,
>   "description" : "",
>   "fact_table" : "BIGDATA_KYLIN.KYLIN_SALES_YMD",
>   "lookups" : [ ],
>   "dimensions" : [ {
> "table" : "KYLIN_SALES_YMD",
> "columns" : [ "LEAF_CATEG_ID", "TRANS_ID", "SLR_SEGMENT_CD", "SELLER_ID", 
> "BUYER_ID", "OPS_USER_ID", "OPS_REGION", "Y", "M", "D" ]
>   } ],
>   "metrics" : [ "KYLIN_SALES_YMD.PRICE", "KYLIN_SALES_YMD.ITEM_COUNT" ],
>   "filter_condition" : "",
>   "partition_desc" : {
> "partition_date_column" : "KYLIN_SALES_YMD.Y, KYLIN_SALES_YMD.M, 
> KYLIN_SALES_YMD.D",
> "partition_time_column" : null,
> "partition_date_start" : 0,
> "partition_date_format" : "-MM-dd",
> "partition_time_format" : "HH:mm:ss",
> "partition_type" : "APPEND",
> "partition_condition_builder" : 
> "org.apache.kylin.metadata.model.PartitionDesc$CustomYearMonthDayFieldPartitionConditionBuilder"
>   },
>   "capacity" : "MEDIUM"
> }
> Partition_date_column is the year, month, and day partition field split by 
> ','., and Partition_condition_builder is 
> org.apache.kylin.metadata.model.PartitionDesc$CustomYearMonthDayFieldPartitionConditionBuilder
> Web can create a normal model and  "Edit JSON"  on Kylin web



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (KYLIN-4211) PartitionDesc support custom year、month、day partitions name

2019-10-28 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/KYLIN-4211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16961657#comment-16961657
 ] 

ASF GitHub Bot commented on KYLIN-4211:
---

bigxiaochu commented on pull request #904: KYLIN-4211 PartitionDesc support 
custom year、month、day partitions name
URL: https://github.com/apache/kylin/pull/904
 
 
   https://issues.apache.org/jira/browse/KYLIN-4211
   PartitionDesc support custom year、month、day partitions name
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> PartitionDesc support custom year、month、day partitions name
> ---
>
> Key: KYLIN-4211
> URL: https://issues.apache.org/jira/browse/KYLIN-4211
> Project: Kylin
>  Issue Type: Improvement
>Reporter: chuxiao
>Priority: Major
> Attachments: KYLIN-4211.master.001.patch
>
>
> YearMonthDayPartitionConditionBuilder supports partition named year, month, 
> day, but can not support partition names like Y, M, D.
> Because there are user using  fact table partitioned by Y, M, D, so add 
> CustomYearMonthDayFieldPartitionConditionBuilder, support custom year, month, 
> day partitions name.
> Partition metadata in model.json like:
> {
>   "uuid" : "459d48c1-a8a6-cdf5-6ea7-e2ae48b248e9",
>   "last_modified" : 1571652918478,
>   "version" : "2.6.0.20500",
>   "name" : "kylin_sales_ymd",
>   "owner" : "admin",
>   "is_draft" : false,
>   "description" : "",
>   "fact_table" : "BIGDATA_KYLIN.KYLIN_SALES_YMD",
>   "lookups" : [ ],
>   "dimensions" : [ {
> "table" : "KYLIN_SALES_YMD",
> "columns" : [ "LEAF_CATEG_ID", "TRANS_ID", "SLR_SEGMENT_CD", "SELLER_ID", 
> "BUYER_ID", "OPS_USER_ID", "OPS_REGION", "Y", "M", "D" ]
>   } ],
>   "metrics" : [ "KYLIN_SALES_YMD.PRICE", "KYLIN_SALES_YMD.ITEM_COUNT" ],
>   "filter_condition" : "",
>   "partition_desc" : {
> "partition_date_column" : "KYLIN_SALES_YMD.Y, KYLIN_SALES_YMD.M, 
> KYLIN_SALES_YMD.D",
> "partition_time_column" : null,
> "partition_date_start" : 0,
> "partition_date_format" : "-MM-dd",
> "partition_time_format" : "HH:mm:ss",
> "partition_type" : "APPEND",
> "partition_condition_builder" : 
> "org.apache.kylin.metadata.model.PartitionDesc$CustomYearMonthDayFieldPartitionConditionBuilder"
>   },
>   "capacity" : "MEDIUM"
> }
> Partition_date_column is the year, month, and day partition field split by 
> ','., and Partition_condition_builder is 
> org.apache.kylin.metadata.model.PartitionDesc$CustomYearMonthDayFieldPartitionConditionBuilder
> Web can create a normal model and  "Edit JSON"  on Kylin web



--
This message was sent by Atlassian Jira
(v8.3.4#803005)