Updated on 2026-11-06 GMT+08:00

attr_expr

Attribute expression, used in SELECT lists, WHERE conditions, and other scenarios. Can include: field names (attr), constants (const_value), CASE expressions, function calls (mathematical/date/string/aggregate/window/UDF), binary/unary operators, and sub-expressions (enclosed in parentheses).

Syntax

Description

Syntax

Description

attr_expr

Attribute expression.

attr

Table field, same as col_name.

const_value

Constant value.

case_expr

CASE expression.

math_func

Mathematical function.

date_func

Date function.

string_func

String function.

aggregate_func

Aggregate function.

window_func

Window function.

user_define_func

User-defined function.

general_binary_operator

General binary operator.

general_unary_operator

General unary operator.

(

Start of a sub-attribute expression.

)

End of a sub-attribute expression.