← isnull operator page · comparison/isnull/sc/non_null_string

Non null string 🟢 all ok

pandas ✅ · DuckDB ✅

Tests:

isnull(SC_1) with SC_1 = "Hello": a string that is not null.

Manual:

Is null, semantics for scalar operations: "isnull("Hello") gives false".

Expected:

SC_r = false, a Boolean: the operand is not null.

script.vtl ⇩

SC_r := isnull(SC_1);

input/scalars.csv ⇩

SC_1
Hello

input/scalars.json ⇩

{
  "scalars": [
    {"name": "SC_1", "type": "String"}
  ]
}

expected/scalars.json ⇩

{
  "scalars": [
    {"name": "SC_r", "type": "Boolean", "value": false}
  ]
}