-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dataflow-expression: Infer Bool as the return type for boolean ops
Properly infer Bool as the return type for boolean binary operators, rather than blindly taking the type of the left-hand side of the operator. This makes queries like `SELECT x = 1 FROM t` return the correct type. Change-Id: I38c8f0f4e22c8bd533dc365f94f72816fe56baf7 Reviewed-on: https://gerrit.readyset.name/c/readyset/+/3588 Tested-by: Buildkite CI Reviewed-by: Dan Wilbanks <[email protected]>
- Loading branch information
1 parent
34b724c
commit c21f7ae
Showing
1 changed file
with
33 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters