impala-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zach Amsden (Code Review)" <>
Subject [Impala-ASF-CR] IMPALA-4762: RECOVER PARTITIONS should batch partition updates
Date Tue, 07 Mar 2017 18:35:07 GMT
Zach Amsden has posted comments on this change.

Change subject: IMPALA-4762: RECOVER PARTITIONS should batch partition updates

Patch Set 2:

File fe/src/main/java/org/apache/impala/service/

PS2, Line 2661: updateLastDdlTime(msTbl, msClient);
> Do we need to call this for every batch? I believe it is sufficient to call
If we get some kind of exception during a later round of processing, it is better to have
updated the time, and this could reasonably happen with a timeout or network error.
File tests/metadata/

PS2, Line 190: for i in xrange(1, 700):
             :         PART_DIR = "part%d\t" % i
             :         assert not self.has_value(PART_DIR,
> This check may be an overkill since no partitions were added to this table.
It does return one row, the 'Total', which is confusing as it isn't clear this is intended
to be machine readable.  I'd rather leave the check as is since it is more obviously correct
(and also fast, this is a purely local operation).

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: I7f9334051b11ba8fa16159b7ca67ddc7f2392733
Gerrit-PatchSet: 2
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Zach Amsden <>
Gerrit-Reviewer: Dan Hecht <>
Gerrit-Reviewer: Dimitris Tsirogiannis <>
Gerrit-Reviewer: Zach Amsden <>
Gerrit-HasComments: Yes

View raw message