forked from apache/datafusion
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Verify supported type for Unary::Plus in sql planner
This adds a type check when planning unary plus operator. Since we currently do not represent the operator in our logical plan we can not check it later. Instead of introducing a new `Expr` this patch just verifies the type during the translation instead.
- Loading branch information
1 parent
7a34147
commit 86c848c
Showing
2 changed files
with
19 additions
and
3 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
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