I'm trying to rename a column (date type), but wasn't sure if the syntax was wrong or if this just isn't possible in Spark SQL:
ALTER TABLE user.temp_medicalclaims
CHANGE vendor_test_id date_service DATE
brings up this error:
org.apache.spark.sql.AnalysisException: ALTER TABLE CHANGE COLUMN is not supported for changing column 'vendor_test_id' with type 'DateType' to 'date_service' with type 'DateType';