cloud-fan commented on code in PR #52449:
URL: https://github.com/apache/spark/pull/52449#discussion_r2378107175
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/TableOutputResolver.scala:
##########
@@ -222,12 +223,29 @@ object TableOutputResolver extends SQLConfHelper with
Logging {
val requiredMetadata = CharVarcharUtils.cleanMetadata(column.metadata)
// Make sure that the result has the requiredMetadata and only that.
- // If the expr is an Attribute or NamedLambdaVariable with the proper name
and metadata,
- // it should remain stable, but we do not trust that other NamedAttributes
will
- // remain stable (namely Alias).
+ //
+ // If the expr NamedLambdaVariable, it must be from our handling of
structured
Review Comment:
```suggestion
// If the expr is NamedLambdaVariable, it must be from our handling of
structured
```
--
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]