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 2021/06/01 23:16:02 UTC

[GitHub] [spark] allisonwang-db commented on a change in pull request #32694: [SPARK-35059][SQL] Group exception messages in hive/execution

allisonwang-db commented on a change in pull request #32694:
URL: https://github.com/apache/spark/pull/32694#discussion_r643533634



##########
File path: sql/catalyst/src/main/scala/org/apache/spark/sql/errors/QueryExecutionErrors.scala
##########
@@ -1230,4 +1230,30 @@ object QueryExecutionErrors {
   def parentSparkUIToAttachTabNotFoundError(): Throwable = {
     new SparkException("Parent SparkUI to attach this tab to not found!")
   }
+
+  def inferSchemaUnsupportedForHiveError(): Throwable = {
+    new UnsupportedOperationException("inferSchema is not supported for hive data source.")
+  }
+
+  def requestedPartitionsMisMatchTableError(

Review comment:
       `requestedPartitionsMismatchTablePartitionsError`




-- 
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