kylin-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lemont (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KYLIN-3410) kylin
Date Thu, 14 Jun 2018 06:25:00 GMT
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)

Mime
View raw message