Skip to content

Commit

Permalink
bitwise_not returns same precision. Added snowflake specific behavior…
Browse files Browse the repository at this point in the history
… for (1,0) in a different file
  • Loading branch information
anshuldata committed Aug 12, 2024
1 parent c1d5ede commit 341f5a9
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions extensions/functions_snowflake.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
%YAML 1.2
---
scalar_functions:
- name: "bitwise_not"
description: >
Return the bitwise NOT result for one decimal input in which Precision is 1.
Result precision will be equal to 2.
impls:
- args:
- name: x
value: "DECIMAL<1,0>"
return: "DECIMAL<2,0>"


0 comments on commit 341f5a9

Please sign in to comment.