yggdrasil.execution.expr.operators¶
operators ¶
Operator enums shared across every backend.
Comparison / logical / arithmetic operators are spelled the same way
in the AST regardless of which engine ultimately renders them.
Backends translate to their own dialect: EQ becomes = in
SQL, __eq__ in Python, pa.compute.equal in pyarrow, etc.
Pulled out of nodes.py so consumers (backends, planners,
pushdown logic) that only need the operator vocabulary don't pay
the cost of importing the full AST module.
CompareOp ¶
Bases: str, Enum
Binary comparison operator, target-engine-agnostic.
Backends translate to their own dialect: EQ becomes = in
SQL, __eq__ in Python, pa.compute.equal in pyarrow,
etc.