impala-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Impala Public Jenkins (Code Review)" <>
Subject [Impala-ASF-CR] IMPALA-9602: Fix case-sensitivity for local catalog
Date Thu, 09 Apr 2020 04:46:45 GMT
Impala Public Jenkins has submitted this change and it was merged. (

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

IMPALA-9602: Fix case-sensitivity for local catalog

This patch makes the database and table names lower-case
when doing lookups, insertion and invalidations of database
objects or table objects in the local catalog cache. The
remote catalog already does the right thing by lower-casing
these names, so this patch makes the behavior consistent with
what the remote catalog does.

 - Added unit tests for CatalogdMetaProvider by examining
   cache hits and misses when loading and invalidating
   database or tables with upper-case names.
 - Manually tested as follows:
   start Impala with local catalog enabled
   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);"

Change-Id: I3f368fa9b50e22ec5057d0bf66c3fd51064d4c26
Reviewed-by: Impala Public Jenkins <>
Tested-by: Impala Public Jenkins <>
M fe/src/main/java/org/apache/impala/catalog/local/
M fe/src/test/java/org/apache/impala/catalog/local/
2 files changed, 65 insertions(+), 8 deletions(-)

  Impala Public Jenkins: Looks good to me, approved; Verified

To view, visit
To unsubscribe, visit

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I3f368fa9b50e22ec5057d0bf66c3fd51064d4c26
Gerrit-Change-Number: 15653
Gerrit-PatchSet: 6
Gerrit-Owner: Aman Sinha <>
Gerrit-Reviewer: Aman Sinha <>
Gerrit-Reviewer: Impala Public Jenkins <>
Gerrit-Reviewer: Vihang Karajgaonkar <>

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