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

stop using copyWithBooleanColumnAsValidity [databricks] #11418

Merged
merged 2 commits into from
Sep 3, 2024

Conversation

res-life
Copy link
Collaborator

@res-life res-life commented Sep 3, 2024

This contributes to #11397

stop using copyWithBooleanColumnAsValidity
#11399 did not remove all the copyWithBooleanColumnAsValidity

Signed-off-by: Chong Gao res_life@163.com

Signed-off-by: Chong Gao <res_life@163.com>
@res-life
Copy link
Collaborator Author

res-life commented Sep 3, 2024

build

Comment on lines 397 to 398
withResource(Scalar.fromNull(millis.getType)) { NULL =>
overflowFlags.ifElse(millis, NULL)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general we should avoid using keyword names such as null or NULL.

Suggested change
withResource(Scalar.fromNull(millis.getType)) { NULL =>
overflowFlags.ifElse(millis, NULL)
withResource(Scalar.fromNull(millis.getType)) { nullVal =>
overflowFlags.ifElse(millis, nullVal)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

firestarman
firestarman previously approved these changes Sep 3, 2024
@firestarman
Copy link
Collaborator

build

@pxLi pxLi changed the title stop using copyWithBooleanColumnAsValidity stop using copyWithBooleanColumnAsValidity [databricks] Sep 3, 2024
@pxLi
Copy link
Collaborator

pxLi commented Sep 3, 2024

build

Copy link
Collaborator

@wjxiz1992 wjxiz1992 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approve, local query test pass without seeing error of

/home/jenkins/agent/workspace/jenkins-spark-rapids-customer-test-build-141/sql-plugin/src/main/scala/com/nvidia/spark/rapids/GpuOrcScan.scala:397: value copyWithBooleanColumnAsValidity is not a member of ai.rapids.cudf.ColumnVector

any more. Thanks for the quick fix!

@ttnghia ttnghia merged commit 6d4c4ef into NVIDIA:branch-24.10 Sep 3, 2024
45 checks passed
@sameerz sameerz added the bug Something isn't working label Sep 3, 2024
@res-life res-life deleted the no_copy_validity branch September 4, 2024 00:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants