peter-toth opened a new pull request #25054: [SPARK-28251][SQL] Fix error message of inserting into a non-existing table URL: https://github.com/apache/spark/pull/25054 ## What changes were proposed in this pull request? Before this PR inserting into a non-existing table returned a weird error message: ``` sql("INSERT INTO test VALUES (1)").show org.apache.spark.sql.AnalysisException: unresolved operator 'InsertIntoTable 'UnresolvedRelation [test], false, false;; 'InsertIntoTable 'UnresolvedRelation [test], false, false +- LocalRelation [col1#4] ``` after this PR the error message becomes: ``` Table not found: test ``` ## How was this patch tested? Added a new UT.
---------------------------------------------------------------- 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]
