Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Incomplete
-
2.3.1
-
None
-
spark -2.3
hadoop -2.4
Description
Unable to alter table column type in spark.
scala> spark.sql("""alter table tablename change col1 col1 string""")
org.apache.spark.sql.AnalysisException: ALTER TABLE CHANGE COLUMN is not supported for changing column 'col1' with type 'LongType' to 'col1' with type 'StringType';