Fredy Wijaya has uploaded this change for review. ( http://gerrit.cloudera.org:8080/10132
Change subject: IMPALA-6896: NullPointerException in DESCRIBE FORMATTED on views ...................................................................... IMPALA-6896: NullPointerException in DESCRIBE FORMATTED on views This patch fixes an issue where in ALTER VIEW the storage descriptor is created with a new instance instead of reusing the existing storage descriptor. This causes an issue where some HMS attributes become nullable causing a NullPointerException. The patch also differentiates between updating view attributes for CREATE VIEW and ALTER VIEW. Testing: - Ran all front-end tests - Added a new end-to-end test - Ran the all end-to-end metadata tests Change-Id: Ica2fb0c4f4b09cdf36eeb4911a1cbe7e98381d9e --- M fe/src/main/java/org/apache/impala/service/CatalogOpExecutor.java M tests/metadata/test_ddl.py 2 files changed, 46 insertions(+), 6 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/32/10132/2 -- To view, visit http://gerrit.cloudera.org:8080/10132 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Ica2fb0c4f4b09cdf36eeb4911a1cbe7e98381d9e Gerrit-Change-Number: 10132 Gerrit-PatchSet: 2 Gerrit-Owner: Fredy Wijaya <fwij...@cloudera.com>