dongjoon-hyun commented on a change in pull request #27315: [SPARK-30535][SQL][FOLLOWUP] Update error message for ALTER TABLE when table is resolved to temp view URL: https://github.com/apache/spark/pull/27315#discussion_r369360701
########## File path: sql/core/src/test/resources/sql-tests/results/change-column.sql.out ########## @@ -195,7 +195,7 @@ ALTER TABLE temp_view CHANGE a TYPE INT COMMENT 'this is column a' struct<> -- !query 20 output org.apache.spark.sql.AnalysisException -temp_view is a temp view not a table.; line 1 pos 0 +Cannot alter a view with ALTER TABLE. Please use ALTER VIEW instead; line 1 pos 0 Review comment: The other changes are the same. The directional message parts look misleading. ---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
