Constant Value Column

Adds/replace a column containing a single constant value in each row.

Dialog Options

Replace
Select a column which is replaced with the new constant value column.
Append
Add the constant value column as a new column with the given name.
Value settings
In the left combo box you choose the datacell implementation of the column and in the text field the actual column value is entered. You can also choose a flow-variable to provide the value using the button on the right, however the datacell implementation configuration is still necessary.

Note on Double values
Make sure that you use the '.' as the decimal mark in a double value.

Note on Date formats
Note, the date parser uses localization settings so in order to parse foreign language date formats you will need to either convert these formats to the localized representation manually, or change the localization of your system to match that of your data source. A format string as required by the java.text.SimpleDateFormat . Examples: Valid pattern elements are:

Ports

Input Ports
0 Input table.
Output Ports
0 Table with added or replaced column holding the defined constant value.
This node is contained in KNIME Base Nodes provided by KNIME GmbH, Konstanz, Germany.