Skip to main content
ReferenceApplies to: Unified engine deployments
Operators combine values into expressions. Use parentheses to make precedence explicit, especially when mixing AND with OR or combining numeric operations.

Comparisons and logic

An ordinary comparison with NULL usually returns NULL. WHERE and HAVING retain only TRUE. Use IS NULL to test for missing values: column = NULL does not find them. In Boolean logic, FALSE AND NULL is FALSE, TRUE OR NULL is TRUE, and TRUE AND NULL is NULL.

Text patterns

LIKE is case-sensitive unless another operation explicitly normalizes the input. Use LOWER or UPPER when a case-normalized match is intended. Regular-expression functions have separate syntax and behavior; see string functions.

Arithmetic

+, -, *, /, and remainder forms operate on compatible numeric inputs. Type, overflow, division by zero, and ANSI settings affect behavior. Decimal and floating-point arithmetic have different precision. Native execution rejects expressions for which it cannot preserve the required semantics, including some integer arithmetic and cast paths.

Conditional expressions

CASE chooses a result by condition. All result branches must resolve to a compatible type. COALESCE supplies the first non-null value; NULLIF converts an equal value to NULL. These are useful for presenting missing dimensions and preparing denominators.
Null-safe equality and null-aware join conditions have Native backend restrictions. A null-safe expression that works as a scalar expression does not establish support for using it as a join condition.
Last modified on November 4, 2026