-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
GH-33592: [C++] support casting nullable fields to non-nullable if there are no null values #43782
base: main
Are you sure you want to change the base?
GH-33592: [C++] support casting nullable fields to non-nullable if there are no null values #43782
Conversation
Thanks for opening a pull request! If this is not a minor PR. Could you open an issue for this pull request on GitHub? https://github.com/apache/arrow/issues/new/choose Opening GitHub issues ahead of time contributes to the Openness of the Apache Arrow project. Then could you also rename the pull request title in the following format?
or
In the case of PARQUET issues on JIRA the title also supports:
See also: |
|
52100dd
to
49d5a99
Compare
This PR looks pretty good to me, what additional help would you like getting it merged? |
Thanks for the help! I'm a random contributor, so I'm not sure about the exact workflow, but I think both getting the CI run approved and having a C++ owner approve it are needed. Any more detailed thoughts on if the tests are adequate, if there's anywhere else in the code base that you think needs to change, my handling of the go implementation by just deleting the shortcircuit, or any other more detailed thoughts? Basically anything that would reduce the mental load on the code owner I think would increase the odds they approve it :) |
You can mark as ready for review? Or this is still wip? |
Oops, didn't mean for this to still be marked WIP. Looks like a few failures that need to get fixed, but still a high-level review of the general approach would still be appreciated in the meantime. |
You probably need the same corresponding check on the Go side to verify that it's only allowed if there are no nulls. Also, the Go implementation has been moved to the apache/arrow-go repository. So please file the PR there for the Go side. Sorry for the confusion, we just haven't removed the Go code from here yet. |
Thanks @zeroshade , will do. Do we need both PRs to land at about the same time, or can I do that independently? I will undo my changes to the go code here, leaving it untouched. |
They can land independently, no issues there. Thanks! |
49d5a99
to
eb9e7b6
Compare
Just pushed a new version:
We will see if this passes CI now... |
eb9e7b6
to
e6d54d3
Compare
Pushed a new version, hopefully that fixed the broken tests:
|
@zeroshade I think this is ready to review/merge, the failing CI runs look like flakes when trying to setup the environment? |
Can we move this to apache/arrow-go? |
Ah, the Go part was removed from this PR. |
…o null values Fixes apache#33592
e6d54d3
to
106e627
Compare
Those CI failures look unrelated? Not sure, CI history looks pretty flaky to me.
|
workaround for: ttps://github.com/apache/arrow/pull/43782
Notes for myself/fixer:
cmake .. --preset ninja-debug-basic
, thencmake --build .
, thenctest -j16 --output-on-failure
to run all tests, orctest -R 'arrow-compute-scalar-cast-test'
to run the specific one