pick_fields(column: object, [key: const string]+) -> object

Pick one or more fields from an object.

Domain

This is a scalar function (calculates a single output value for a single input row).

Categories

Examples

Create a column 'smaller' based on column 'obj' only containing 'key1' and 'key2' if existing.