Skip to content
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

Update how we deal with type checking #1099

Merged
merged 1 commit into from
Nov 12, 2020

Conversation

revans2
Copy link
Collaborator

@revans2 revans2 commented Nov 11, 2020

After looking at how complex nested type checking is going to be combined with decimal type checking in #1063 @jlowe and I decided that we needed a more complete solution. This is hopefully that solution. It is a little bit ugly but it provides a fairly clean and consistent way to cover all of our existing checks and also updates it for decimal, Array, Struct, and Map support.

It does not prevent users from overriding the type check and doing it all themselves, but that should be very rare instead of common like it is now.

Signed-off-by: Robert (Bobby) Evans <bobby@apache.org>
@revans2 revans2 added this to the Nov 9 - Nov 20 milestone Nov 11, 2020
@revans2 revans2 self-assigned this Nov 11, 2020
@revans2
Copy link
Collaborator Author

revans2 commented Nov 11, 2020

build

@revans2
Copy link
Collaborator Author

revans2 commented Nov 11, 2020

@sperlingxx does this change look good to you?

@sperlingxx
Copy link
Collaborator

@sperlingxx does this change look good to you?

LGTM!

@revans2 revans2 merged commit a99b735 into NVIDIA:branch-0.3 Nov 12, 2020
@revans2 revans2 deleted the improve_type_checking branch November 12, 2020 14:10
@sameerz sameerz added the feature request New feature or request label Nov 13, 2020
sperlingxx pushed a commit to sperlingxx/spark-rapids that referenced this pull request Nov 20, 2020
Signed-off-by: Robert (Bobby) Evans <bobby@apache.org>
nartal1 pushed a commit to nartal1/spark-rapids that referenced this pull request Jun 9, 2021
Signed-off-by: Robert (Bobby) Evans <bobby@apache.org>
nartal1 pushed a commit to nartal1/spark-rapids that referenced this pull request Jun 9, 2021
Signed-off-by: Robert (Bobby) Evans <bobby@apache.org>
tgravescs pushed a commit to tgravescs/spark-rapids that referenced this pull request Nov 30, 2023
…IDIA#1099)

Signed-off-by: spark-rapids automation <70000568+nvauto@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants