Skip to content

Commit

Permalink
feat: add and_not boolean function (#276)
Browse files Browse the repository at this point in the history
Co-authored-by: Phillip Cloud <[email protected]>
  • Loading branch information
nealrichardson and cpcloud authored Aug 11, 2022
1 parent f24e593 commit 8af3fe0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions extensions/functions_boolean.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,15 @@ scalar_functions:
variadic:
min: 2
return: boolean
-
name: and_not
description: The boolean and of one value and the negation of the other using Kleene logic.
impls:
- args:
- value: boolean
variadic:
min: 2
return: boolean
-
name: xor
description: The boolean xor of two values using Kleene logic.
Expand Down
2 changes: 1 addition & 1 deletion proto/substrait/algebra.proto
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ message Rel {
message NamedObjectWrite {
// The list of string is used to represent namespacing (e.g., mydb.mytable).
// This assumes shared catalog between systems exchanging a message.
//
//
repeated string names = 1;
substrait.extensions.AdvancedExtension advanced_extension = 10;
}
Expand Down

0 comments on commit 8af3fe0

Please sign in to comment.