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

31 lines
1.9 KiB
HTML

<a name="dli_08_15096"></a><a name="dli_08_15096"></a>
<h1 class="topictitle1">Value Retrieval Functions</h1>
<div id="body0000001784230149">
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="dli_08_15096__table3139148151413" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Value retrieval functions</caption><thead align="left"><tr id="dli_08_15096__row1413916482146"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.1.2.3.1.1"><p id="dli_08_15096__p713974815143">SQL Function</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.1.2.3.1.2"><p id="dli_08_15096__p313974891420">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="dli_08_15096__row1513984861414"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.1.2.3.1.1 "><p id="dli_08_15096__p1413994801414">tableName.compositeType.field</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.1.2.3.1.2 "><p id="dli_08_15096__p713934817148">Returns the value of a field from a Flink composite type (e.g. Tuple, POJO) by name.</p>
</td>
</tr>
<tr id="dli_08_15096__row151391482142"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.1.2.3.1.1 "><p id="dli_08_15096__p131390482141">tableName.compositeType.*</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.1.2.3.1.2 "><p id="dli_08_15096__p121396485140">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).</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dli_08_15085.html">Built-In Functions</a></div>
</div>
</div>