-
Notifications
You must be signed in to change notification settings - Fork 232
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
Conversation
Signed-off-by: Chong Gao <res_life@163.com>
build |
withResource(Scalar.fromNull(millis.getType)) { NULL => | ||
overflowFlags.ifElse(millis, NULL) |
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.
In general we should avoid using keyword names such as null
or NULL
.
withResource(Scalar.fromNull(millis.getType)) { NULL => | |
overflowFlags.ifElse(millis, NULL) | |
withResource(Scalar.fromNull(millis.getType)) { nullVal => | |
overflowFlags.ifElse(millis, nullVal) |
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.
Done.
build |
build |
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.
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!
This contributes to #11397
stop using copyWithBooleanColumnAsValidity
#11399 did not remove all the
copyWithBooleanColumnAsValidity
Signed-off-by: Chong Gao res_life@163.com