Files
doc-exports/docs/dli/sqlreference/dli_08_15096.html
Su, Xiaomeng be9eabe464 dli_sqlreference_20250305
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: Su, Xiaomeng <suxiaomeng1@huawei.com>
Co-committed-by: Su, Xiaomeng <suxiaomeng1@huawei.com>
2025-03-25 09:06:21 +00:00

1.9 KiB

Value Retrieval Functions

Table 1 Value retrieval functions

SQL Function

Description

tableName.compositeType.field

Returns the value of a field from a Flink composite type (e.g. Tuple, POJO) by name.

tableName.compositeType.*

Returns the flattened representation of a Flink composite type (e.g. Tuple, POJO), converting each of its immediate subtypes into a separate field. In most cases, the fields in the flattened representation have similar names to the original fields, but with a $ separator (e.g. mypojo$mytuple$f0).