cloud-fan commented on a change in pull request #33113:
URL: https://github.com/apache/spark/pull/33113#discussion_r659497730



##########
File path: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/v2ResolutionPlans.scala
##########
@@ -150,7 +165,12 @@ case class ResolvedPartitionSpec(
     ident: InternalRow,
     location: Option[String] = None) extends PartitionSpec
 
-case class ResolvedFieldName(name: Seq[String]) extends FieldName
+case class ResolvedFieldName(path: Seq[String], field: StructField) extends 
FieldName {
+  def name: Seq[String] = path :+ field.name
+}
+
+case class ResolvedFieldPosition(position: ColumnPosition) extends 
FieldPosition

Review comment:
       don't we need the `fieldName` in the resolved version?




-- 
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