This should be a bug of the "Date" encoding, Billy could you please open a JIRA for tracking? As a workaround, please use
2016-09-12 20:48 GMT+08:00 Yiming Liu <[email protected]>: > No matter why dictionary we choose, the result value should not be > changed. The expectation should be '20160401' still, not the epoch > timestamp. I think it would be a bug. > > 2016-09-11 22:54 GMT+08:00 Yiming Liu <[email protected]>: > >> Is this related to https://issues.apache.org/jira/browse/KYLIN-1798? >> >> >> 2016-09-10 22:42 GMT+08:00 Yiming Liu <[email protected]>: >> >>> Hi Kylin experts, >>> >>> I have a dimension, call DAY_ID, varchar type, data likes "20160401". >>> And I use Date type for encoding. When the cube is built successfully, I >>> just query the table group by DAY_ID, the result DAY_ID column is >>> '1459468800000', not '20160401'. Is that expectation result? >>> >>> -- >>> With Warm regards >>> >>> Yiming Liu (刘一鸣) >>> >> >> >> >> -- >> With Warm regards >> >> Yiming Liu (刘一鸣) >> > > > > -- > With Warm regards > > Yiming Liu (刘一鸣) > -- Best regards, Shaofeng Shi
