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

ASF subversion and git services commented on KYLIN-5021:
--------------------------------------------------------

Commit 4100e5007624ae29b8e5e97319261064896ea699 in kylin's branch 
refs/heads/kylin-on-parquet-v2 from tianhui5
[ https://gitbox.apache.org/repos/asf?p=kylin.git;h=4100e50 ]

KYLIN-5021 FilePruner throws NPE when there is no timePartitionColunm in cube 
(#1680)

* KYLIN-5021 FilePruner throws NPE when there is no timePartitionColumn in cube

* minor, use isDefined to check None

* optimize performance of file pruner

Co-authored-by: tianhui5 <tianh...@xiaomi.com>
Co-authored-by: Congling XIA <xiacongl...@xiaomi.com>

> FilePruner in Spark3 throws NPE when no partition columns in cube
> -----------------------------------------------------------------
>
>                 Key: KYLIN-5021
>                 URL: https://issues.apache.org/jira/browse/KYLIN-5021
>             Project: Kylin
>          Issue Type: Bug
>          Components: Query Engine
>            Reporter: tianhui
>            Assignee: Congling Xia
>            Priority: Major
>             Fix For: v4.0.0
>
>         Attachments: errorlog, image-2021-07-01-11-58-11-533.png, 
> image-2021-07-01-12-04-46-905.png
>
>
> I create a cube without partition clumn in it, then I query it and get a NPE.
> !image-2021-07-01-11-58-11-533.png!
> !image-2021-07-01-12-04-46-905.png!
> The SQL is like: 
> {code:java}
> select pid from exception_middle_user where EXCEPTION_MIDDLE_USER.TVVERSION 
> ='20.10.21.110'{code}
>  
> I have put errorstack in Attachments.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to