Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Incomplete
-
1.4.1
-
None
-
Ubuntu on AWS
Description
Schema changes made with ALTER TABLE are not shown in DESCRIBE TABLE. The table in question was created with HiveContext.read.json().
Steps:
- alter table dimension_components add columns (z string); succeeds.
- describe dimension_components; does not show the new column, even after restarting spark-sql.
- A second alter table dimension_components add columns (z string); fails with RROR exec.DDLTask: org.apache.hadoop.hive.ql.metadata.HiveException: Duplicate column name: z
Full spark-sql output here.
Attachments
Issue Links
- is related to
-
SPARK-9764 Spark SQL uses table metadata inconsistently
- Closed