You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Lemont (JIRA)" <ji...@apache.org> on 2018/06/19 12:26:00 UTC

[jira] [Commented] (KYLIN-3416) Kylin bitmap null pointer exception

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

Lemont commented on KYLIN-3416:
-------------------------------

I think there are something relate to 

{{Only return counter for precise count_distinct if query is exactAggregate}}

{{[KYLIN-2606}}|https://issues.apache.org/jira/browse/KYLIN-2606]

> Kylin bitmap null pointer exception
> -----------------------------------
>
>                 Key: KYLIN-3416
>                 URL: https://issues.apache.org/jira/browse/KYLIN-3416
>             Project: Kylin
>          Issue Type: Bug
>          Components: Query Engine
>    Affects Versions: v2.3.1
>            Reporter: Lemont
>            Priority: Blocker
>
> Hi,team:
>   Ithink there is a conflict between dimensional aggregation and count distinct.
> For example:
> select
>  floor((1524931200 - biz_time)/(30*86400)),
>  count(DISTINCT id) id
>  from test
>  group by floor((1524931200 - biz_time)/(30*86400))
> Caused by: java.lang.NullPointerException
>  at org.apache.kylin.measure.bitmap.RoaringBitmapCounter.getMutableBitmap(RoaringBitmapCounter.java:58)
>  at org.apache.kylin.measure.bitmap.RoaringBitmapCounter.orWith(RoaringBitmapCounter.java:72)
>  at org.apache.kylin.measure.bitmap.BitmapAggregator.aggregate(BitmapAggregator.java:43)
>  at org.apache.kylin.measure.bitmap.BitmapDistinctCountAggFunc.add(BitmapDistinctCountAggFunc.java:31)
>  



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