Icon

If Column Exists

A simple example using the Vernalis Configurable IF/CASE Switch (Flow VariableValue) node to switch active branch based on whether a column exists in the inputtable without using any scripting / expression nodesSee https://forum.knime.com/t/editing-java-snippet-node-to-check-if-column-exist-or-create-it/83963/5 for a history of this question Node 10 - Column Names1 - Input tableto ListNode 40 - Column Exists1 - Column doesnt Exist Table Creator ExtractColumn Header GroupBy Table Rowto Variable Configurable IF/CASE Switch(Flow Variable Value) A simple example using the Vernalis Configurable IF/CASE Switch (Flow VariableValue) node to switch active branch based on whether a column exists in the inputtable without using any scripting / expression nodesSee https://forum.knime.com/t/editing-java-snippet-node-to-check-if-column-exist-or-create-it/83963/5 for a history of this question Node 10 - Column Names1 - Input tableto ListNode 40 - Column Exists1 - Column doesnt ExistTable Creator ExtractColumn Header GroupBy Table Rowto Variable Configurable IF/CASE Switch(Flow Variable Value)

Nodes

Extensions

Links