-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-29837][SQL] PostgreSQL dialect: cast to boolean #26463
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from 1 commit
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
75d51ba
postgresql dialect: cast to boolean
Ngone51 53c9a9b
fix PostgreSQLDialectQuerySuite
Ngone51 2ab1847
fix postgreSQL/boolean.sql
Ngone51 6c2c0c7
nullable should be false now
Ngone51 6ad100c
check unsupported types in checkInputDataTypes()
Ngone51 101a026
private[catalyst] -> protected[this]
Ngone51 be08daf
remove unused import
Ngone51 95caf40
return TypeCheckSuccess
Ngone51 8ebd5aa
use collect()
Ngone51 0b9a78d
use child.nullable
Ngone51 fda48c0
excludes unsupported types explicitly
Ngone51 36f60ee
protected[this] -> protected
Ngone51 b7c6baf
throw exception for PostgreCastToBoolean.ansiEnabled
Ngone51 b9711ae
include supportted types explicitly
Ngone51 68c7a13
adjust tests
Ngone51 999ec61
missing BooleanType
Ngone51 a178b79
leave cast( bool as bool) to optimizer
Ngone51 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
private[catalyst] -> protected[this]
- Loading branch information
commit 101a0267385ce1de4e75aaa29c87013facade28a
There are no files selected for viewing
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: I don't think
[this]here can buy us anything. How about just useprotected?