Skip to content

UnresolvedWindowExpression Unevaluable Expression -- WindowExpression With Unresolved Window Specification Reference

UnresolvedWindowExpression is an unevaluable expression that represents...FIXME

UnresolvedWindowExpression is <> when:


[[child]] UnresolvedWindowExpression is created to represent a child[expression] and WindowSpecReference (with an identifier for the window reference) when AstBuilder sql/[parses a function evaluated in a windowed context with a WindowSpecReference].

UnresolvedWindowExpression is resolved to a <> when 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) |===

Back to top