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

fix: Capture nullability in Values node planning #14472

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

rkrishn7
Copy link
Contributor

@rkrishn7 rkrishn7 commented Feb 4, 2025

Which issue does this PR close?

What changes are included in this PR?

Includes field nullability from table schema when planning a Values node during INSERT INTO ... VALUES

Are these changes tested?

Existing tests have been updated, but it would be great to figure out additional tests to add.

Are there any user-facing changes?

N/A

@github-actions github-actions bot added sql SQL Planner logical-expr Logical plan and expressions sqllogictest SQL Logic Tests (.slt) labels Feb 4, 2025
@alamb alamb marked this pull request as draft February 4, 2025 18:46
@alamb
Copy link
Contributor

alamb commented Feb 4, 2025

Thank you @rkrishn7 -- I marked this PR as a draft as it seems a CI test is failing. Thank you!

@alamb
Copy link
Contributor

alamb commented Feb 4, 2025

FYI @gatesn

@rkrishn7
Copy link
Contributor Author

rkrishn7 commented Feb 4, 2025

Thanks @alamb. Will fix it up when I'm back from work!

@rkrishn7
Copy link
Contributor Author

rkrishn7 commented Feb 5, 2025

Rust / build with wasm-pack (pull_request) is currently failing, but looks like this is due to the recent upstream release of uuid. Should be fixed in #14494

@rkrishn7 rkrishn7 marked this pull request as ready for review February 5, 2025 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
logical-expr Logical plan and expressions sql SQL Planner sqllogictest SQL Logic Tests (.slt)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DataSink::write_all given invalid RecordBatchStream
2 participants