This is an automated email from the ASF dual-hosted git repository. laszlog pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/impala.git
commit 3e9408480c5285ca925576b7486b35593407a32a Author: Eyizoha <[email protected]> AuthorDate: Thu Jun 1 17:18:49 2023 +0800 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 <[email protected]> Tested-by: Impala Public Jenkins <[email protected]> --- fe/src/main/java/org/apache/impala/service/CatalogOpExecutor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fe/src/main/java/org/apache/impala/service/CatalogOpExecutor.java b/fe/src/main/java/org/apache/impala/service/CatalogOpExecutor.java index b48f4e68a..1d7ac7bbf 100644 --- a/fe/src/main/java/org/apache/impala/service/CatalogOpExecutor.java +++ b/fe/src/main/java/org/apache/impala/service/CatalogOpExecutor.java @@ -7405,7 +7405,7 @@ public class CatalogOpExecutor { msTable.getTableName(), hmsPartitionsStatsUnset); } } catch (TException te) { - new ImpalaRuntimeException( + throw new ImpalaRuntimeException( String.format(HMS_RPC_ERROR_FORMAT_STR, "alter_partitions"), te); } }
