UnresolvedWindowExpression Unevaluable Expression -- WindowExpression With Unresolved Window Specification Reference¶
UnresolvedWindowExpression
is an unevaluable expression that represents...FIXME
UnresolvedWindowExpression
is <
- FIXME
[[child]] UnresolvedWindowExpression
is created to represent a child
Expression.md[expression] and WindowSpecReference
(with an identifier for the window reference) when AstBuilder
spark-sql-AstBuilder.md#visitFunctionCall-UnresolvedWindowExpression[parses a function evaluated in a windowed context with a WindowSpecReference
].
UnresolvedWindowExpression
is resolved to a <Analyzer
is requested to resolve UnresolvedWindowExpressions.
import spark.sessionState.sqlParser
scala> sqlParser.parseExpression("foo() OVER windowSpecRef")
res1: org.apache.spark.sql.catalyst.expressions.Expression = unresolvedwindowexpression('foo(), WindowSpecReference(windowSpecRef))
[[properties]] .UnresolvedWindowExpression's Properties [width="100%",cols="1,2",options="header"] |=== | Name | Description
| dataType
| Reports a UnresolvedException
| foldable
| Reports a UnresolvedException
| nullable
| Reports a UnresolvedException
| resolved
| Disabled (i.e. false
) |===