Aleksandr Efimov has posted comments on this change. ( 
https://gerrit.cloudera.org/25422 )

Change subject: IMPALA-15792: Add an Apache Hive 4 profile
......................................................................


Patch Set 3:

(4 comments)

https://gerrit.cloudera.org/#/c/25422/3/bin/impala-config.sh
File bin/impala-config.sh:

https://gerrit.cloudera.org/#/c/25422/3/bin/impala-config.sh@777
PS3, Line 777: if $USE_APACHE_HIVE_4 || $USE_APACHE_HIVE_3 || 
$USE_APACHE_HIVE_2; then
> nit: create a USE_APACHE_HIVE var to group these cases?
Added USE_APACHE_HIVE in PS4 and used it for the common Hive paths.


https://gerrit.cloudera.org/#/c/25422/3/fe/src/compat-apache-hive-4/java/org/apache/impala/compat/MetastoreShim.java
File 
fe/src/compat-apache-hive-4/java/org/apache/impala/compat/MetastoreShim.java:

https://gerrit.cloudera.org/#/c/25422/3/fe/src/compat-apache-hive-4/java/org/apache/impala/compat/MetastoreShim.java@132
PS3, Line 132: alterTableWithTransaction
> Is this actually not supported in Hive 4.1, or just skipped Hive ACID suppo
This was skipped in the initial profile, not missing from Hive 4.1. PS4 makes 
that explicit. The implementation is in IMPALA-15809 (change 25455).


https://gerrit.cloudera.org/#/c/25422/3/fe/src/compat-apache-hive-4/java/org/apache/impala/compat/MetastoreShim.java@464
PS3, Line 464:    *   CDP Hive-3 only function.
> Similarly for Hive ACID functions, are reload events actually missing from
Hive 4.1 does have RELOAD events. I left them out of the initial shim; PS4 now 
says so explicitly. The generic message decoder rejects RELOAD in both 4.1 and 
4.2, so this needs a separate decoding path. I suggest handling it in a 
follow-up.


https://gerrit.cloudera.org/#/c/25422/3/fe/src/main/java/org/apache/impala/catalog/paimon/PaimonUtil.java
File fe/src/main/java/org/apache/impala/catalog/paimon/PaimonUtil.java:

https://gerrit.cloudera.org/#/c/25422/3/fe/src/main/java/org/apache/impala/catalog/paimon/PaimonUtil.java@260
PS3, Line 260:             location = 
hiveConf_.get("hive.metastore.warehouse.dir");
> nit: move to a constan or function in MetaStoreShim like HIVE_METASTORE_WAR
Moved the key to MetastoreShim.HIVE_METASTORE_WAREHOUSE in PS4.



--
To view, visit https://gerrit.cloudera.org/25422
To unsubscribe, visit https://gerrit.cloudera.org/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I155764ac4604d7b0cca6d27e81c14d1275b3262f
Gerrit-Change-Number: 25422
Gerrit-PatchSet: 3
Gerrit-Owner: Aleksandr Efimov <[email protected]>
Gerrit-Reviewer: Aleksandr Efimov <[email protected]>
Gerrit-Reviewer: Csaba Ringhofer <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Michael Smith <[email protected]>
Gerrit-Comment-Date: Mon, 16 Nov 2026 15:22:27 +0000
Gerrit-HasComments: Yes

Reply via email to