You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/11/25 03:33:00 UTC

[jira] [Commented] (IMPALA-11739) Skip pushing down BinaryPredicate with NullLiteral for Iceberg tables

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

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

Commit 3c40919f6e922ef827a4ae8fbc82cb0898de73fd in impala's branch refs/heads/master 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: <li...@sensorsdata.cn>
Tested-by: Impala Public Jenkins <im...@cloudera.com>
Reviewed-by: Zoltan Borok-Nagy <bo...@cloudera.com>


> 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: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org