import spark.sessionState.sqlParser
scala> sqlParser.parseExpression("foo() OVER windowSpecRef")
res1: org.apache.spark.sql.catalyst.expressions.Expression = unresolvedwindowexpression('foo(), WindowSpecReference(windowSpecRef))
UnresolvedWindowExpression Unevaluable Expression — WindowExpression With Unresolved Window Specification Reference
UnresolvedWindowExpression
is an unevaluable expression that represents…FIXME
Note
|
An unevaluable expression cannot be evaluated to produce a value (neither in interpreted nor code-generated expression evaluations) and has to be resolved (replaced) to some other expressions or logical operators at analysis or optimization phases or they fail analysis. |
UnresolvedWindowExpression
is created when:
-
FIXME
UnresolvedWindowExpression
is created to represent a child
expression and WindowSpecReference
(with an identifier for the window reference) when AstBuilder
parses a function evaluated in a windowed context with a WindowSpecReference
.
UnresolvedWindowExpression
is resolved to a WindowExpression when Analyzer
resolves UnresolvedWindowExpressions
.
Name | Description |
---|---|
|
Reports a |
|
Reports a |
|
Reports a |
|
Disabled (i.e. |