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 2021/08/27 13:42:00 UTC

[jira] [Commented] (IMPALA-10843) NullPointerException when test runtime filter in TRACE log level

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

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

Commit e977014fa7685b17b7a618b725521c22031764ec in impala's branch refs/heads/master from xqhe
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=e977014 ]

IMPALA-10843: fix NullPointerException when print the low and high value of the column on which the filter is applied

We should check whether the low and high value of the column on which
the filter is applied is null when printing in TRACE log level.

Testing:
Start impala in TRACE log level and manually test the following
queries:
  1. compute stats functional_parquet.testtbl
  2. select id from testtbl t1 join jointbl t2 on t1.id=t2.test_id

Change-Id: I653e479adf09f32ec9a6583fd0fe05bc06d2fe2f
Reviewed-on: http://gerrit.cloudera.org:8080/17755
Tested-by: Impala Public Jenkins <im...@cloudera.com>
Reviewed-by: Qifan Chen <qc...@cloudera.com>


> NullPointerException when test runtime filter in TRACE log level 
> -----------------------------------------------------------------
>
>                 Key: IMPALA-10843
>                 URL: https://issues.apache.org/jira/browse/IMPALA-10843
>             Project: IMPALA
>          Issue Type: Bug
>            Reporter: Xianqing He
>            Assignee: Xianqing He
>            Priority: Minor
>
> {code:java}
> select id from functional_parquet.testtbl t1 join functional_parquet.jointbl t2 on t1.id=t2.test_id;
> ERROR: NullPointerException: null
> {code}
>  The stack is
> {code:java}
> I0805 13:46:28.245564 25109 jni-util.cc:286] 9a46572c38c990c9:0c65c52000000000] java.lang.NullPointerException
>         at org.apache.impala.planner.RuntimeFilterGenerator$RuntimeFilter$RuntimeFilterTarget.toString(RuntimeFilterGenerator.java:292)
>         at com.google.common.base.Joiner.toString(Joiner.java:453)
>         at com.google.common.base.Joiner.appendTo(Joiner.java:106)
>         at com.google.common.base.Joiner.appendTo(Joiner.java:152)
>         at com.google.common.base.Joiner.join(Joiner.java:195)
>         at com.google.common.base.Joiner.join(Joiner.java:185)
>         at org.apache.impala.planner.RuntimeFilterGenerator$RuntimeFilter.debugString(RuntimeFilterGenerator.java:629)
>         at org.apache.impala.planner.RuntimeFilterGenerator.generateRuntimeFilters(RuntimeFilterGenerator.java:672)
>         at org.apache.impala.planner.Planner.createPlanFragments(Planner.java:144)
>         at org.apache.impala.planner.Planner.createPlans(Planner.java:249)
>         at org.apache.impala.service.Frontend.createExecRequest(Frontend.java:1562)
>         at org.apache.impala.service.Frontend.getPlannedExecRequest(Frontend.java:1939)
>         at org.apache.impala.service.Frontend.doCreateExecRequest(Frontend.java:1779)
>         at org.apache.impala.service.Frontend.getTExecRequest(Frontend.java:1644)
>         at org.apache.impala.service.Frontend.createExecRequest(Frontend.java:1614)
>         at org.apache.impala.service.JniFrontend.createExecRequest(JniFrontend.java:164)
> {code}
>  
>  



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org