Skip to content

UnresolvedWindowExpression Unevaluable Expression -- WindowExpression With Unresolved Window Specification Reference

UnresolvedWindowExpression is an unevaluable expression that represents...FIXME

UnresolvedWindowExpression is <> when:

  • FIXME

[[child]] UnresolvedWindowExpression is created to represent a child Expression.md[expression] and WindowSpecReference (with an identifier for the window reference) when AstBuilder sql/AstBuilder.md#visitFunctionCall-UnresolvedWindowExpression[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) |===


Last update: 2021-02-18