0 ×

Create Collection Column

StreamableKNIME Base Nodes version 4.1.0.v201912041211 by KNIME AG, Zurich, Switzerland

This node aggregates multiple columns in a separate new column, whose type is a "collection type". The cells in the new column are typed collections of cells; that is, the content can be safely be split into the original column content. The reverse operation is available in the "Split Collection Column" node.

Options

Manual Selection

Include
This list contains the names of those columns in the input table to be included in the output table.
Exclude
This list contains the names of those columns in the input table to be excluded from the output table.
Filter
Use one of these fields to filter either the Include or Exclude list for certain column names or name substrings.
Buttons
Use these buttons to move columns between the Include and Exclude list. Single-arrow buttons will move all selected columns. Double-arrow buttons will move all columns (filtering is taken into account).
Enforce Exclusion
Select this option to enforce the current exclusion list to stay the same even if the input table specification changes. If some of the excluded columns are not available anymore, a warning is displayed. (New columns will automatically be added to the inclusion list.)
Enforce Inclusion
Select this option to enforce the current inclusion list to stay the same even if the input table specification changes. If some of the included columns are not available anymore, a warning is displayed. (New columns will automatically be added to the exclusion list.)

Wildcard/Regex Selection

Type a search pattern which matches columns to move into the Include list. You can use either Wildcards ('?' matching any character, '*' matching a sequence of any characters) or Regex. You can specify whether your pattern should be case sensitive.

Type Selection

Select the column types that you want to include. Column types that are currently not present are depicted in italic.

Collection type

Create a collection of type 'set' (doesn't store duplicate values)
If checked, a collection column of type set is created. Set collections contain only distinct values, duplicates are deleted.
ignore missing values
If checked, missing values are ignored, i.e. not stored in collection cells.

Output table structure

Remove aggregated columns from table
If checked, aggregated columns are removed from output table.
Enter the name of the new column
Specifies the name of the new column containing the collection cells.

Input Ports

Any input data

Output Ports

The input data along with a newly appended collection column.

Best Friends (Incoming)

Best Friends (Outgoing)

Workflows

Installation

To use this node in KNIME, install KNIME Core from the following update site:

KNIME 4.1
Wait a sec! You want to explore and install nodes even faster? We highly recommend our NodePit for KNIME extension for your KNIME Analytics Platform.

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.