Impala Public Jenkins has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/21792 )
Change subject: IMPALA-13322: Fix alter on SystemTables ...................................................................... IMPALA-13322: Fix alter on SystemTables Fixes SystemTable.load to handle incremental loads - such as during alter - and correctly update the metastore Table so subsequent operations see the correct version of the table schema. Updates QueryScanner to allow unknown columns and log a warning. This is primarily needed when another coordinator has been upgraded and modified table metadata with new columns that this coordinator doesn't recognize. Adds TestQueryLive::test_alter to test that altering the table works and the table is usable afterwards, including attempting to query unknown columns as we might encounter them during upgrades. Change-Id: I9a59e58c086e659941e0db8a2b893ac6dcc5143a Reviewed-on: http://gerrit.cloudera.org:8080/21792 Reviewed-by: Impala Public Jenkins <[email protected]> Tested-by: Impala Public Jenkins <[email protected]> --- M be/src/exec/system-table-scanner.cc M be/src/exec/system-table-scanner.h M fe/src/main/java/org/apache/impala/catalog/SystemTable.java M tests/custom_cluster/test_query_live.py 4 files changed, 78 insertions(+), 18 deletions(-) Approvals: Impala Public Jenkins: Looks good to me, approved; Verified -- To view, visit http://gerrit.cloudera.org:8080/21792 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I9a59e58c086e659941e0db8a2b893ac6dcc5143a Gerrit-Change-Number: 21792 Gerrit-PatchSet: 9 Gerrit-Owner: Michael Smith <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Jason Fehr <[email protected]> Gerrit-Reviewer: Michael Smith <[email protected]> Gerrit-Reviewer: Quanlong Huang <[email protected]> Gerrit-Reviewer: Wenzhe Zhou <[email protected]>
