impala-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bharath Vissapragada (Code Review)" <>
Subject [Impala-ASF-CR] IMPALA-1702: Enforce table level consistency accross service
Date Mon, 03 Oct 2016 20:13:59 GMT
Bharath Vissapragada has posted comments on this change.

Change subject: IMPALA-1702: Enforce table level consistency accross service

Patch Set 3:

Commit Message:

PS3, Line 12: If backend sees these,
            : it will overwrites each other in an 1:1 table ID to table
            : descriptor map.
might need a little rephrase.

PS3, Line 18: activities

PS3, Line 22:  
..issue.. (same in next statement too.)
File fe/src/main/java/org/apache/impala/analysis/

PS3, Line 296: HashMap
I think its better to use the parent Map<> class here (that seems to be consistent usage
elsewhere in the code).

PS3, Line 2282: Returns the Catalog Table object for the given database and table name.
              :    * Adds the table to this analyzer's "missingTbls_" and throws an AnalysisException
              :    * the table has not yet been loaded in the local catalog cache.
              :    * Throws an AnalysisException if the table or the db does not exist in
the Catalog.
              :    * This function does not register authorization requests and does not log
access events
Please update this to reflect the new logic.
File fe/src/main/java/org/apache/impala/analysis/

PS3, Line 45: targetTable_
Just curious what the rationale behind this clean up. Is it because we use it only for the
inserts? I don't know if we intend to use a bunch of referencedTables_ in the future for any
other usecase in which case this change should again be undone. Alex, any idea?
File fe/src/main/java/org/apache/impala/catalog/

Line 34: import java.util.concurrent.atomic.AtomicInteger;
Unused import now that we switched to Long?

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: Ifad648b72684ae495ec387590ab1bc58ce5b39e2
Gerrit-PatchSet: 3
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Huaisi Xu <>
Gerrit-Reviewer: Alex Behm <>
Gerrit-Reviewer: Bharath Vissapragada <>
Gerrit-Reviewer: Dimitris Tsirogiannis <>
Gerrit-Reviewer: Huaisi Xu <>
Gerrit-Reviewer: Tim Armstrong <>
Gerrit-HasComments: Yes

View raw message