StefanXiepj commented on pull request #29010: URL: https://github.com/apache/spark/pull/29010#issuecomment-654239759
> Thanks for your contribution, @StefanXiepj ! btw, which Spark version you used? I think the current master does not accept the alter command; > > ``` > scala> sql("""alter table cast_exception_test change column c1 c1 string""") > org.apache.spark.sql.AnalysisException: ALTER TABLE CHANGE COLUMN is not supported for changing column 'c1' with type 'IntegerType' to 'c1' with type 'StringType'; > ``` Sorry, I forgot it, alter command executed in hive, and query command executed in spark. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org