You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Dong Li (JIRA)" <ji...@apache.org> on 2017/05/07 02:47:04 UTC

[jira] [Resolved] (KYLIN-2588) Query failed when two top-n measure with order by count(*) exists in one cube

     [ https://issues.apache.org/jira/browse/KYLIN-2588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dong Li resolved KYLIN-2588.
----------------------------
       Resolution: Fixed
    Fix Version/s: v2.1.0

> Query failed when two top-n measure with order by count(*) exists in one cube
> -----------------------------------------------------------------------------
>
>                 Key: KYLIN-2588
>                 URL: https://issues.apache.org/jira/browse/KYLIN-2588
>             Project: Kylin
>          Issue Type: Bug
>          Components: Metadata
>    Affects Versions: v2.0.0
>            Reporter: Dong Li
>            Assignee: Dong Li
>             Fix For: v2.1.0
>
>         Attachments: 0001-KYLIN-2588-fix-ParameterDesc.equals.patch
>
>
> Query failed when two top-n measure with order by count(*) exists in one cube
> Caused by: java.lang.NullPointerException
> 	at org.apache.kylin.metadata.model.ParameterDesc.equals(ParameterDesc.java:148)
> 	at org.apache.kylin.metadata.model.FunctionDesc.equals(FunctionDesc.java:301)
> 	at java.util.HashMap.putVal(HashMap.java:634)
> 	at java.util.HashMap.put(HashMap.java:611)
> 	at org.apache.kylin.cube.gridtable.CuboidToGridTableMapping.init(CuboidToGridTableMapping.java:97)
> 	at org.apache.kylin.cube.gridtable.CuboidToGridTableMapping.<init>(CuboidToGridTableMapping.java:60)
> 	at org.apache.kylin.cube.gridtable.CubeGridTable.newGTInfo(CubeGridTable.java:27)
> 	at org.apache.kylin.storage.gtrecord.CubeScanRangePlanner.<init>(CubeScanRangePlanner.java:89)
> 	at org.apache.kylin.storage.gtrecord.CubeSegmentScanner.<init>(CubeSegmentScanner.java:73)
> 	at org.apache.kylin.storage.gtrecord.GTCubeStorageQueryBase.search(GTCubeStorageQueryBase.java:86)
> 	at org.apache.kylin.query.enumerator.OLAPEnumerator.queryStorage(OLAPEnumerator.java:120)
> 	at org.apache.kylin.query.enumerator.OLAPEnumerator.moveNext(OLAPEnumerator.java:64)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)