gengliangwang commented on code in PR #51466:
URL: https://github.com/apache/spark/pull/51466#discussion_r2226079494
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/TableOutputResolver.scala:
##########
@@ -180,7 +180,7 @@ object TableOutputResolver extends SQLConfHelper with
Logging {
} else {
CharVarcharUtils.stringLengthCheck(casted, attr.dataType)
}
- Alias(exprWithStrLenCheck, attr.name)(explicitMetadata =
Some(attr.metadata))
+ Alias(exprWithStrLenCheck, attr.name)()
Review Comment:
With the changes under
`sql/core/src/main/scala/org/apache/spark/sql/execution/datasources`, do we
still need the change in this file? This will affect all data sources.
--
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]