Github user davies commented on a diff in the pull request:
https://github.com/apache/spark/pull/12720#discussion_r61383358
--- Diff:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/namedExpressions.scala
---
@@ -337,6 +337,16 @@ case class PrettyAttribute(
override def nullable: Boolean = true
}
+/**
+ * A place holder used to hold a reference that has been resolved to a
field outside of the current
+ * plan. This is used for correlated subqueries.
+ */
+case class OuterReference(e: NamedExpression) extends LeafExpression with
Unevaluable {
+ override def dataType: DataType = e.dataType
+ override def nullable: Boolean = e.nullable
+ override def prettyName: String = "outer"
--- End diff --
I see, thanks
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]