Skip to content

NamedExpression

NamedExpression is an extension of the Expression abstraction for named expressions (with an ExprId and an optional qualifier).

Contract

ExprId

exprId: ExprId

Name

name: String

Creating NamedExpression

newInstance(): NamedExpression

Qualifier (Parts)

qualifier: Seq[String]

Optional qualifier parts (with the names of catalog, database, table, fields, incl. nested fields)

Converting to Attribute

toAttribute: Attribute

Implementations

foldable

foldable: Boolean

foldable is part of the Expression abstraction.


foldable is always false (in order to not remove the alias).