Skip to content

Commit

Permalink
feat(snowflake): Added support for bitnow
Browse files Browse the repository at this point in the history
  • Loading branch information
ranjanankur314 committed Dec 9, 2024
1 parent b0e6b11 commit 85551c9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sqlglot/dialects/snowflake.py
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,8 @@ class Parser(parser.Parser):
"BIT_XOR": binary_from_function(exp.BitwiseXor),
"BITOR": binary_from_function(exp.BitwiseOr),
"BIT_OR": binary_from_function(exp.BitwiseOr),
"BITNOT": lambda args: exp.BitwiseNot(this=seq_get(args, 0)),
"BIT_NOT": lambda args: exp.BitwiseNot(this=seq_get(args, 0)),
"BOOLXOR": binary_from_function(exp.Xor),
"DATE": _build_datetime("DATE", exp.DataType.Type.DATE),
"DATE_TRUNC": _date_trunc_to_time,
Expand Down

0 comments on commit 85551c9

Please sign in to comment.