You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "cloud-fan (via GitHub)" <gi...@apache.org> on 2023/07/03 22:35:29 UTC

[GitHub] [spark] cloud-fan commented on a diff in pull request #41835: [SPARK-44281][SQL] Move QueryCompilation error that used by DataType to sql/api as DataTypeErrors

cloud-fan commented on code in PR #41835:
URL: https://github.com/apache/spark/pull/41835#discussion_r1251319070


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/errors/QueryErrorsBase.scala:
##########
@@ -92,10 +84,6 @@ private[sql] trait QueryErrorsBase {
     quoteByDefault(text.toUpperCase(Locale.ROOT))
   }
 
-  def toSQLConf(conf: String): String = {

Review Comment:
   it's a bit weird that we put this in `DataTypeErrorsBase`, shall we name it `QuotingUtils`? And we can move methods to it, like `toSQLType`



-- 
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-unsubscribe@spark.apache.org

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