mirror of
https://github.com/apache/impala.git
synced 2026-01-05 03:01:02 -05:00
If the table format is changed by the Alter Table statement, the default partition in partitioned tables used to not get updated. This caused a problem because Insert picks up the file format for new partitions from the default partition. This patch fixes the problem by calling addDefaultPartition(). Also removed "drop table if not exists" in tests in alter-table.test because we already have the unique_database fixture. Change-Id: I59bf21caa5c5e7867d07d87cda0c0a5b4b994859 Reviewed-on: http://gerrit.cloudera.org:8080/4750 Reviewed-by: Alex Behm <alex.behm@cloudera.com> Tested-by: Internal Jenkins