Extract Duration Fields

Extracts the selected fields from a duration column and appends the values as integer or long columns. Valid fields are hours, minutes, seconds, milli- micro- and nanoseconds for a time-based duration and years, months and days for a date-based duration.

Options

Column Selection

Column Selector
A duration column can be chosen.

Field Selection

Select Fields
Several fields can be selected to extract. The duration gets broken down in its individual parts, e.g. from a duration holding 2 hours, 30 minutes, and 15 seconds the node extracts (depending on the selection) three new columns containing 2 hours, 30 minutes, and 15 seconds, respectively.

Input Ports

Icon
Input table.

Output Ports

Icon
Output table containing the extracted fields as appended columns.

Views

This node has no views

Workflows

Further Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.