Berserk Docs
Tabular OperatorsOther Operators

getschema

Returns a table with column names and types from the input table schema.

Syntax

getschema

Get 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)
joined2System.DateTimedatetime
voyages1System.Int64long
warrior0System.Stringstring

On this page