imback82 commented on a change in pull request #27391: [SPARK-30612][SQL]
Resolve qualified column name with v2 tables
URL: https://github.com/apache/spark/pull/27391#discussion_r373223388
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/trees/TreeNode.scala
##########
@@ -780,6 +780,7 @@ abstract class TreeNode[BaseType <: TreeNode[BaseType]]
extends Product {
case exprId: ExprId => true
case field: StructField => true
case id: IdentifierWithDatabase => true
+ case alias: AliasIdentifier => true
Review comment:
`AliasIdentifier` no longer extends `IdentifierWithDatabase`, so this needs
to be added for `toJson` to work correctly.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]