Bikramjeet Vig has uploaded a new change for review. http://gerrit.cloudera.org:8080/3385
Change subject: IMPALA-1683: Allow REFRESH on a single partition ...................................................................... IMPALA-1683: Allow REFRESH on a single partition Currently the only way to refresh metadata for a partition was to refresh the whole table. This is a relatively time consuming process especially if there are many partitions and only one is to be refreshed. This patch allows the client to REFRESH on a single partition by using the following query format: REFRESH [database_name.]table_name PARTITION (partition_spec) Testing: Added parsing and authorization tests in ParserTest.java and AuthorizationTest.java respectively. A new test file "test_refresh_partition.py" was added for testing functionality. Change-Id: I4bf5dd630f2e175be5800187bbf9337c91f82bd8 --- M common/thrift/CatalogService.thrift M fe/src/main/cup/sql-parser.cup M fe/src/main/java/com/cloudera/impala/analysis/AnalysisContext.java M fe/src/main/java/com/cloudera/impala/analysis/ResetMetadataStmt.java M fe/src/main/java/com/cloudera/impala/catalog/CatalogServiceCatalog.java M fe/src/main/java/com/cloudera/impala/catalog/HdfsTable.java M fe/src/main/java/com/cloudera/impala/service/CatalogOpExecutor.java M fe/src/test/java/com/cloudera/impala/analysis/AuthorizationTest.java M fe/src/test/java/com/cloudera/impala/analysis/ParserTest.java A tests/metadata/test_refresh_partition.py 10 files changed, 705 insertions(+), 258 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala refs/changes/85/3385/1 -- To view, visit http://gerrit.cloudera.org:8080/3385 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I4bf5dd630f2e175be5800187bbf9337c91f82bd8 Gerrit-PatchSet: 1 Gerrit-Project: Impala Gerrit-Branch: cdh5-trunk Gerrit-Owner: Bikramjeet Vig <[email protected]>
