dtenedor commented on code in PR #36880:
URL: https://github.com/apache/spark/pull/36880#discussion_r898422483


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/util/ResolveDefaultColumnsUtil.scala:
##########
@@ -241,4 +242,36 @@ object ResolveDefaultColumns {
       }
     }
   }
+
+  /**
+   * This is an Analyzer for processing default column values using built-in 
functions only.
+   */
+  object DefaultColumnAnalyzer extends Analyzer(
+    new CatalogManager(BuiltInFunctionCatalog, 
BuiltInFunctionCatalog.v1Catalog)) {
+    override def resolver: Resolver = caseSensitiveResolution

Review Comment:
   Good point, I updated this to use the default `conf.resolver` instead for 
simplicity.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to