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

Zhichao  Zhang updated KYLIN-4791:
----------------------------------
    Description: 
When execute function 'pruneSegments' of FilePruner, if there are some cast 
expressions in filter, it will throw exception 'UnsupportedOperationException: 
empty.reduceLeft'.

 

Solution:

Convert cast expressions in filter to attribute before translating filter.

  was:When execute function 'pruneSegments' of FilePruner, if there are some 
cast expressions in filter, it will throw exception 
'UnsupportedOperationException: empty.reduceLeft'.


> Throws exception 'UnsupportedOperationException: empty.reduceLeft' when there 
> are cast expressions in the filters of FilePruner
> -------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: KYLIN-4791
>                 URL: https://issues.apache.org/jira/browse/KYLIN-4791
>             Project: Kylin
>          Issue Type: Bug
>          Components: Query Engine, Spark Engine
>    Affects Versions: v4.0.0-alpha
>            Reporter: Zhichao  Zhang
>            Assignee: Zhichao  Zhang
>            Priority: Minor
>             Fix For: v4.0.0-beta
>
>
> When execute function 'pruneSegments' of FilePruner, if there are some cast 
> expressions in filter, it will throw exception 
> 'UnsupportedOperationException: empty.reduceLeft'.
>  
> Solution:
> Convert cast expressions in filter to attribute before translating filter.



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

Reply via email to