Get Table Keys

Description

This functor returns a table containing only the first column of keys.

Inputs

Name Type Description
Table Table The input table.

Outputs

Name Type Description
Keys Table The table containing the keys from the input table first key column.

Group

Notes

The result table has columns “Key*” and “Value” and both columns contain the same values. The column types are the same types of the first key column from the input table.

Example 1:

Input:

Key1* Key2* Value1 Value2
1 2 2.2 3.1
1 3 2.1 3.1
1 6 1.2 4.2
2 2 3.2 6.1

Result:

Key* Value
1 1
2 2

Example 2:

Input:

Name* Age* Value1 Value2
“Hermann” 28 2.2 3.1
“Romulo” 12 2.1 3.1
“Bruno” 61 1.2 4.2
“Danilo” 25 3.2 6.1

Result:

Key* Value
“Hermann” “Hermann”
“Romulo” “Romulo”
“Bruno” “Bruno”
“Danilo” “Danilo”

Internal Name

GetTableKeys