Lemont created KYLIN-3410:
-----------------------------

             Summary: kylin 
                 Key: KYLIN-3410
                 URL: https://issues.apache.org/jira/browse/KYLIN-3410
             Project: Kylin
          Issue Type: Bug
          Components: Query Engine
    Affects Versions: v2.3.1
            Reporter: Lemont


 I set city_id , pt and periods_time to Mandatory Dimensions and My query is :

select
 floor((1528732800 - biz_time)*1.0/(7*86400)) pt,
 count(DISTINCT online_rider) 
 from rider
 where
 pt='20180612'
 and periods_time in (0)
 and city_id = 1
 group by floor((1528732800 - biz_time)*1.0/(7*86400))

and the error is

Caused by: java.lang.NullPointerException
 at 
org.apache.kylin.measure.bitmap.RoaringBitmapCounter.getMutableBitmap(RoaringBitmapCounter.java:58)

but the interesting thing is that when i set 
pt=from_unixtime(unix_timestamp('20180612','yyyyMMdd'),'yyyyMMdd')

{from_unixtime(unix_timestamp('20180612','yyyyMMdd'),'yyyyMMdd')='20180612'}

the query is success.

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to