gengliangwang commented on code in PR #36880:
URL: https://github.com/apache/spark/pull/36880#discussion_r898328157
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/util/ResolveDefaultColumnsUtil.scala:
##########
@@ -143,6 +144,7 @@ object ResolveDefaultColumns {
}
// Analyze the parse result.
val plan = try {
+ val analyzer: Analyzer = schema.defaultColumnAnalyzer
Review Comment:
Why do we need to have an analyzer per schema? Can we reply on an object
like `SimpleAnalyzer`?
--
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]