Skip to content

Commit

Permalink
add aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
pgayvallet committed Sep 18, 2024
1 parent 6a98e9d commit 9b09b24
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
* This is mostly for the case for STATS.
*/
const aliases: Record<string, string[]> = {
STATS: ['STATS_BY', 'BY', 'STATS...BY'],
STATS: ['STATS_BY', 'BY', 'STATS...BY', 'STATS ... BY'],
OPERATORS: ['LIKE', 'RLIKE', 'IN'],
};

const getAliasMap = () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ WHERE supports the following types of functions:
- Type conversation functions
- Conditional functions and expressions
- Multi-value functions
- Operators

Aggregation functions are WHERE supported for EVAL.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,6 @@ Binary operators: ==, !=, <, <=, >, >=, +, -, *, /, %
Logical operators: AND, OR, NOT
Predicates: IS NULL, IS NOT NULL
Unary operators: -

IN
LIKE: filter data based on string patterns using wildcards
RLIKE: filter data based on string patterns using regular expressions
Expand Down

0 comments on commit 9b09b24

Please sign in to comment.