Comparison operators

🟢 12 of 12 operators all ok · vtlengine 1.10.0rc3 (9e1c81a6) · pandas 2.3.3 · DuckDB 1.5.5
🟢 all ok🟡 partially implemented🛡️ refused with an error🔴 not implemented or crash🔵 engines differ ✅ match · ❌ wrong result · 🛡 guarded error (code) · 💥 crash · 📌 team decision
        ---
config:
  flowchart:
    useMaxWidth: false

---
flowchart LR
    classDef ok fill:#d4edda,stroke:#28a745,color:#000
    classDef partial fill:#fff3cd,stroke:#ffc107,color:#000
    classDef refused fill:#d4edda,stroke:#28a745,stroke-width:3px,stroke-dasharray: 2 2,color:#000
    classDef missing fill:#f8d7da,stroke:#dc3545,color:#000
    classDef diverge fill:#cce5ff,stroke:#007bff,color:#000
    classDef block fill:#2b3a4a,stroke:#2b3a4a,color:#fff,font-weight:bold
    classDef ext fill:#fff,stroke:#666,color:#000,stroke-dasharray: 5 5
    B["Comparison operators"]:::block
    comparison__equal["Equal to · =<br/>🟢7"]:::ok
    comparison__not_equal["Not equal to · #60;#62;<br/>🟢7"]:::ok
    comparison__greater["Greater than · #62;<br/>🟢7"]:::ok
    comparison__greater_equal["Greater than or equal to · #62;=<br/>🟢7"]:::ok
    comparison__less["Less than · #60;<br/>🟢7"]:::ok
    comparison__less_equal["Less than or equal to · #60;=<br/>🟢7"]:::ok
    comparison__between["Between · between<br/>🟢4"]:::ok
    comparison__in["Element of · in<br/>🟢5"]:::ok
    comparison__not_in["Not element of · not_in<br/>🟢5"]:::ok
    comparison__match_characters["Match characters · match_characters<br/>🟢4"]:::ok
    comparison__isnull["Is null · isnull<br/>🟢3"]:::ok
    comparison__exists_in["Exists in · exists_in<br/>🟢4"]:::ok
    comparison__equal --- B
    comparison__not_equal --- B
    comparison__greater --- B
    comparison__greater_equal --- B
    comparison__less --- B
    comparison__less_equal --- B
    B --- comparison__between
    B --- comparison__in
    B --- comparison__not_in
    B --- comparison__match_characters
    B --- comparison__isnull
    B --- comparison__exists_in
    click comparison__equal href "equal.html"
    click comparison__not_equal href "not_equal.html"
    click comparison__greater href "greater.html"
    click comparison__greater_equal href "greater_equal.html"
    click comparison__less href "less.html"
    click comparison__less_equal href "less_equal.html"
    click comparison__between href "between.html"
    click comparison__in href "in.html"
    click comparison__not_in href "not_in.html"
    click comparison__match_characters href "match_characters.html"
    click comparison__isnull href "isnull.html"
    click comparison__exists_in href "exists_in.html"
    

Operators

Operator

Status

Forms

Equal to =

🟢

7

Not equal to <>

🟢

7

Greater than >

🟢

7

Greater than or equal to >=

🟢

7

Less than <

🟢

7

Less than or equal to <=

🟢

7

Between between

🟢

4

Element of in

🟢

5

Not element of not_in

🟢

5

Match characters match_characters

🟢

4

Is null isnull

🟢

3

Exists in exists_in

🟢

4

Types

Operator

string

boolean

set

value domain

any scalar

Equal to

out

in

Not equal to

out

in

Greater than

out

in

Greater than or equal to

out

in

Less than

out

in

Less than or equal to

out

in

Between

out

in

Element of

out

in

in

in

Not element of

out

in

in

in

Match characters

in

out

Is null

out

in

Exists in

out

in

Forms that are not green

Every form is 🟢 or 🛡️.