We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60c93d2 commit 6e2f1d8Copy full SHA for 6e2f1d8
extensions/functions_arithmetic_decimal.yaml
@@ -149,6 +149,17 @@ scalar_functions:
149
return: |-
150
max_precision = max(P1, P2)
151
DECIMAL<max_precision, 0>
152
+ - name: "bitwise_not"
153
+ description: >
154
+ Return the bitwise NOT result for one decimal input.
155
+ In inputs scale must be 0 (i.e. only integer types are allowed).
156
+ Result precision should be one more than input precision.
157
+ Result exceeding precision limit will raise an error.
158
+ impls:
159
+ - args:
160
+ - name: x
161
+ value: "DECIMAL<P,0>"
162
+ return: "DECIMAL<P+1,0>"
163
aggregate_functions:
164
- name: "sum"
165
description: Sum a set of values.
0 commit comments