Expressions#
|
Creates an expression which refers to a table's column. |
|
Creates a SQL literal. |
|
Indicates a range from 'start' to 'end', which can be used in columns selection. |
|
Boolean AND in three-valued logic. |
|
Boolean OR in three-valued logic. |
|
Inverts a given boolean expression. |
Returns the current database |
|
Returns the current SQL date in local time zone. |
|
Returns the current SQL time in local time zone. |
|
Returns the current SQL timestamp in local time zone, the return type of this expression is TIMESTAMP_LTZ. |
|
|
Returns the current watermark for the given rowtime attribute, or NULL if no common watermark of all upstream operations is available at the current operation in the pipeline. |
Returns the current SQL time in local time zone. |
|
Returns the current SQL timestamp in local time zone, the return type of this expression s TIMESTAMP. |
|
|
Converts the date string with the given format (by default 'yyyy-MM-dd') to a date. |
|
Converts the date time string with the given format (by default: 'yyyy-MM-dd HH:mm:ss') under the 'UTC+0' time zone to a timestamp. |
|
Converts a numeric type epoch time to TIMESTAMP_LTZ. |
|
Determines whether two anchored time intervals overlap. |
|
Formats a timestamp as a string using a specified format. |
|
Returns the (signed) number of |
|
Converts a datetime string date_str (with default ISO timestamp format 'yyyy-MM-dd HH:mm:ss') from time zone tz_from to time zone tz_to. |
|
Converts unix timestamp (seconds since '1970-01-01 00:00:00' UTC) to datetime string the given format. |
|
Gets the current unix timestamp in seconds if no arguments are not specified. |
|
Creates an array of literals. |
|
Creates a row of expressions. |
|
Creates a map of expressions. |
|
Creates an interval of rows. |
|
Returns a value that is closer than any other value to pi. |
|
Returns a value that is closer than any other value to e. |
|
Returns a pseudorandom double value between 0.0 (inclusive) and 1.0 (exclusive) with a initial seed if specified. |
|
Returns a pseudorandom integer value between 0 (inclusive) and the specified value (exclusive) with a initial seed if specified. |
|
Calculates the arc tangent of a given coordinate. |
|
Returns negative numeric. |
|
Returns the string that results from concatenating the arguments. |
|
Returns the string that results from concatenating the arguments and separator. |
|
Returns an UUID (Universally Unique Identifier) string (e.g., "3d3c68f7-f608-473f-b60c-b0c44ad4cc4e") according to RFC 4122 type 4 (pseudo randomly generated) UUID. |
|
Returns a null literal value of a given data type. |
|
If base is specified, calculates the logarithm of the given value to the given base. |
Source watermark declaration for schema. |
|
|
Ternary conditional operator that decides which of two other expressions should be evaluated based on a evaluated boolean condition. |
|
Returns the first argument that is not NULL. |
|
Creates an expression that selects a range of columns. |
|
Creates an expression that selects all columns except for the given range of columns. |
|
Serializes a value into JSON. |
|
Builds a JSON object string from a list of key-value pairs. |
|
Builds a JSON object string by aggregating key-value expressions into a single JSON object. |
|
Builds a JSON array string from a list of values. |
|
Builds a JSON object string by aggregating items into an array. |
|
The first parameter f could be a str or a Python user-defined function. |
|
A call to a SQL expression. |