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 2023/06/26 20:39:00 UTC

[jira] [Commented] (IMPALA-12177) The exception in CatalogOpExecutor.unsetPartitionsColStats() was not thrown

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

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

Commit 3e9408480c5285ca925576b7486b35593407a32a in impala's branch refs/heads/master from Eyizoha
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=3e9408480 ]

IMPALA-12177: Add missing throw statement in unsetPartitionsColStats()

Added missing throw statement in unsetPartitionsColStats() to ensure
that the newly created ImpalaRuntimeException is thrown when an
exception is captured. This prevents errors from being masked and
ensures that exceptional cases are properly handled.

Change-Id: I5ea01b943db0c1826dda64414dd15676d41fdd6e
Reviewed-on: http://gerrit.cloudera.org:8080/19964
Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>


> The exception in CatalogOpExecutor.unsetPartitionsColStats() was not thrown
> ---------------------------------------------------------------------------
>
>                 Key: IMPALA-12177
>                 URL: https://issues.apache.org/jira/browse/IMPALA-12177
>             Project: IMPALA
>          Issue Type: Bug
>          Components: fe
>            Reporter: Ye Zihao
>            Assignee: Ye Zihao
>            Priority: Major
>
> The throw keyword was omitted when capturing TException and creating ImpalaRuntimeException in CatalogOpExecutor.unsetPartitionsColStats(), causing the newly created exception to not be thrown. This may result in the method returning normally in exceptional cases, which could mask errors.



--
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