mirror of
https://github.com/apache/impala.git
synced 2026-01-09 06:05:09 -05:00
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 Reviewed-on: http://gerrit.cloudera.org:8080/10132 Reviewed-by: Alex Behm <alex.behm@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>