viirya commented on a change in pull request #33754:
URL: https://github.com/apache/spark/pull/33754#discussion_r689805511



##########
File path: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/AlreadyExistException.scala
##########
@@ -78,3 +78,6 @@ class PartitionsAlreadyExistException(message: String) 
extends AnalysisException
 
 class FunctionAlreadyExistsException(db: String, func: String)
   extends AnalysisException(s"Function '$func' already exists in database 
'$db'")
+
+class IndexAlreadyExistsException(indexName: String)
+  extends AnalysisException(s"Index '$indexName' already exists")

Review comment:
       Add `table` param?




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

To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org

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

Reply via email to