:::info
Spice is built on Apache DataFusion and uses the PostgreSQL dialect, even when querying datasources with different SQL dialects.
:::
+ {#op_plus}Addition
- {#op_minus}Subtraction
* {#op_multiply}Multiplication
/ {#op_divide}Division (integer division truncates toward zero)
% {#op_modulo}Modulo (remainder)
= {#op_eq}Equal
!= {#op_neq}Not Equal
< {#op_lt}Less Than
<= {#op_le}Less Than or Equal To
> {#op_gt}Greater Than
>= {#op_ge}Greater Than or Equal To
<=> {#op_spaceship}Three-way comparison operator. A NULL-safe operator that returns true if both operands are equal or both are NULL, false otherwise.
IS DISTINCT FROMGuarantees the result of a comparison is true or false and not an empty set
IS NOT DISTINCT FROMThe negation of IS DISTINCT FROM
~ {#op_re_match}Regex Match
~* {#op_re_match_i}Regex Case-Insensitive Match
!~ {#op_re_not_match}Not Regex Match
!~* {#op_re_not_match_i}Not Regex Case-Insensitive Match
~~Like Match
~~*Case-Insensitive Like Match
!~~Not Like Match
!~~*Not Case-Insensitive Like Match
ANDLogical And
ORLogical Or
& {#op_bit_and}Bitwise And
| {#op_bit_or}Bitwise Or
# {#op_bit_xor}Bitwise Xor (interchangeable with ^)
>> {#op_shift_r}Bitwise Shift Right
<< {#op_shift_l}Bitwise Shift Left
|| {#op_str_cat}String Concatenation
@> {#op_arr_contains}Array Contains
<@ {#op_arr_contained_by}Array Is Contained By