impala-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bikramjeet Vig (Code Review)" <>
Subject [Impala-CR](cdh5-trunk) IMPALA-1683: Allow REFRESH on a single partition
Date Fri, 15 Jul 2016 19:08:07 GMT
Bikramjeet Vig has posted comments on this change.

Change subject: IMPALA-1683: Allow REFRESH on a single partition

Patch Set 7:

File fe/src/main/java/com/cloudera/impala/catalog/

PS7, Line 1172: HdfsTable hdfsTable = ((HdfsTable) tbl);
> Move above L1176

PS7, Line 1173: Db db = tbl.getDb();
              :       TTableName tblName = new TTableName(tbl.getDb().getName().toLowerCase(),
              :           tbl.getName().toLowerCase());
> Move above L1187

PS7, Line 1189: refreshedPartition
> Why refreshed? This is just the HMS partition object. You can simply call i
File fe/src/main/java/com/cloudera/impala/catalog/

PS7, Line 1926: Returns the name of the partition described by the input thrift
              :   // partition spec object
> How about "Constructs a partition name from a list of TPartitionKeyValue ob

PS7, Line 1945: of a partition by removing the old
              :   // metadata using the 'oldPartition' object and adding back fresh metadata
              :   // the table using the newly fetched 'refershedPartition' object
> How about "of partition 'oldPartition' by removing it from the table and re

PS7, Line 1948: refreshPartition
> Maybe rename to 'reloadPartition'.

PS7, Line 1949: refershedPartition
> Can you change this to hmsPartition? This is not a refreshed HdfsTable::Hdf
File fe/src/test/java/com/cloudera/impala/analysis/

PS7, Line 659: AnalysisError("refresh functional.alltypessmall partition (year=2009, int_col=10)",
> Can you also add the cases:
all added except 'b)', since its a syntax check I added it in ParserTest instead

PS7, Line 664:     
> remove extra space

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: I4bf5dd630f2e175be5800187bbf9337c91f82bd8
Gerrit-PatchSet: 7
Gerrit-Project: Impala
Gerrit-Branch: cdh5-trunk
Gerrit-Owner: Bikramjeet Vig <>
Gerrit-Reviewer: Bikramjeet Vig <>
Gerrit-Reviewer: David Knupp <>
Gerrit-Reviewer: Dimitris Tsirogiannis <>
Gerrit-HasComments: Yes

View raw message