Get Columns

Block Group: Table Operations
Icon: Get Columns block icon

The Get Columns block returns a table that contains the names and data types of the input table's columns.

Note

All data types are string if the input table is parsed from a string. See CSV Parser and JSON Parser.

For information on using dataflow blocks, see Dataflow.

For answers to some common questions about working with tables, see Tables.


Input/Output Property

The following property of the Get Columns block can take input and give output.

  • input (table)

input receives the table from which you want to get column names and data types.


Output Property

The following property of the Get Columns block can give output but cannot take input.

  • output (table)

output returns the output table. It contains a row for each column in the input table.


Example

The following image demonstrates an example of the Get Columns block. In this example, an input table with four columns yields an output table with four rows.

Get Columns block example