Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Adding NULL value to row in KNIME

Tags:

knime

Does anyone know if it is possible to add a null value to a row in KNIME?

I am trying to use the Rule Engine to remove some values, and substitute them with a NULL.

Regards

like image 295
Sindre Avatar asked Dec 20 '25 16:12

Sindre


1 Answers

There is no syntax (as of KNIME 3.4.0) for declaring missing values from Rule Engine nodes. There are workarounds though:

  1. When you specify which case should have non-missing values, the non-matching rows will be missing:

    If no rule matches, the outcome is a missing value.

  2. You can have a column with all-missing values with the proper type and set that column as the outcome, like ... => $missingIntCol$

With the Rule Engine (Dictionary) node the outcome column cannot contain missing values.)

like image 56
Gábor Bakos Avatar answered Dec 24 '25 08:12

Gábor Bakos



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!