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

ASF subversion and git services commented on IMPALA-11739:
----------------------------------------------------------

Commit 3c40919f6e922ef827a4ae8fbc82cb0898de73fd in impala's branch 
refs/heads/branch-4.2.0 from gaoxq
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=3c40919f6 ]

IMPALA-11739: Skip pushing down BinaryPredicate with NullLiteral for Iceberg 
tables

When iceberg partitioning column filter not NULL or equal NULL, it
throws a ClassCastException. For example: "ERROR: ClassCastException:
org.apache.impala.analysis. NullLiteral cannot be cast to
org.apache.impala.analysis.StringLiteral".

Testing:
  - Add 'col=NULL' and 'col!=NULL' queries in iceberg-query.test.

Change-Id: Id6c50978ebac2590622027a239db03f56b082de3
Reviewed-on: http://gerrit.cloudera.org:8080/19270
Reviewed-by: <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
Reviewed-by: Zoltan Borok-Nagy <[email protected]>


> Skip pushing down BinaryPredicate with NullLiteral for Iceberg tables
> ---------------------------------------------------------------------
>
>                 Key: IMPALA-11739
>                 URL: https://issues.apache.org/jira/browse/IMPALA-11739
>             Project: IMPALA
>          Issue Type: Bug
>            Reporter: gaoxiaoqing
>            Assignee: gaoxiaoqing
>            Priority: Major
>              Labels: iceberg
>
> Following query throws an Exception, "ERROR: ClassCastException: 
> org.apache.impala.analysis.NullLiteral cannot be cast to 
> org.apache.impala.analysis.StringLiteral"
> {noformat}
> select * from iceberg_alltypes_part where p_string!=NULL;{noformat}
> When hdfs table filtered not equal null or equal null, it is successful. It 
> should keep same.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to