You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2020/07/06 13:00:53 UTC

[GitHub] [spark] maropu commented on pull request #29010: [SPARK-32192][SQL] Print column name when throws ClassCastException

maropu commented on pull request #29010:
URL: https://github.com/apache/spark/pull/29010#issuecomment-654219970


   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';
   ```


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org