Tabular OperatorsOther Operators
getschema
Returns a table with column names and types from the input table schema.
Syntax
getschemaGet column names and types
Examples
Example 1
datatable(warrior:string, voyages:long, joined:datetime)[
"Ragnar", 42, datetime(2024-01-01)
]
| getschema| ColumnName (string) | ColumnOrdinal (int) | DataType (string) | ColumnType (string) |
|---|---|---|---|
| joined | 2 | System.DateTime | datetime |
| voyages | 1 | System.Int64 | long |
| warrior | 0 | System.String | string |