impala-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vihang Karajgaonkar (Code Review)" <>
Subject [Impala-ASF-CR] IMPALA-9602: Fix case-sensitivity for local catalog
Date Tue, 07 Apr 2020 18:19:05 GMT
Vihang Karajgaonkar has posted comments on this change. (

Change subject: IMPALA-9602: Fix case-sensitivity for local catalog

Patch Set 3:


Patch looks good to me. Left a few suggestions below.
Commit Message:
PS3, Line 21:    start Impala with local catalog enabled
            :      --catalogd_args="--catalog_topic_mode=minimal"
            :      --impalad_args="--use_local_catalog=true"
            :    Create database in lower-case: "CREATE DATABASE db1;"
            :    Run the following a few times (this errors without the patch):
            : -q "DROP TABLE IF EXISTS DB1.ddl_test1 PURGE;
            :                   CREATE TABLE DB1.ddl_test1 (val string)
We have a or in case you want to add this test case.
File fe/src/main/java/org/apache/impala/catalog/local/
PS3, Line 625: DbCacheKey
May be its better to move toLowerCase() call inside DbCacheKey constructor. That way any future
usage of dbName will not need a explicit lower-casing.
PS3, Line 681: TableCacheKey
same as earlier, may be moving to TableCacheKey constructor is better.

To view, visit
To unsubscribe, visit

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I3f368fa9b50e22ec5057d0bf66c3fd51064d4c26
Gerrit-Change-Number: 15653
Gerrit-PatchSet: 3
Gerrit-Owner: Aman Sinha <>
Gerrit-Reviewer: Impala Public Jenkins <>
Gerrit-Reviewer: Vihang Karajgaonkar <>
Gerrit-Comment-Date: Tue, 07 Apr 2020 18:19:05 +0000
Gerrit-HasComments: Yes

  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message