You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Xiaoxiang Yu (Jira)" <ji...@apache.org> on 2020/11/13 02:30:00 UTC
[jira] [Resolved] (KYLIN-4791) Throws exception
'UnsupportedOperationException: empty.reduceLeft' when there are cast
expressions in the filters of FilePruner
[ https://issues.apache.org/jira/browse/KYLIN-4791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xiaoxiang Yu resolved KYLIN-4791.
---------------------------------
Resolution: Fixed
> 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)