forked from docs/doc-exports
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>
1.9 KiB
1.9 KiB
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). |
Parent topic: Built-In Functions