| <table class="table"> | |
| <thead> | |
| <tr> | |
| <th style="width:25%">Function</th> | |
| <th>Description</th> | |
| </tr> | |
| </thead> | |
| <tbody> | |
| <tr> | |
| <td>named_struct(name1, val1, name2, val2, ...)</td> | |
| <td>Creates a struct with the given field names and values.</td> | |
| </tr> | |
| <tr> | |
| <td>struct(col1, col2, col3, ...)</td> | |
| <td>Creates a struct with the given field values.</td> | |
| </tr> | |
| </tbody> | |
| </table> |