-
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
Support lists to/from the GPU #1104
Conversation
Signed-off-by: Robert (Bobby) Evans <bobby@apache.org>
structBuilder.endStruct() | ||
} | ||
builder.endList() | ||
ret + 4 |
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.
Some comments here will make it easy for newbies to follow along
sql-plugin/src/main/scala/com/nvidia/spark/rapids/GpuRowToColumnarExec.scala
Outdated
Show resolved
Hide resolved
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.
Not super comfortable with the summing of doubles to compute byte counts. Seems like we're asking to be bitten by an unfortunate truncation because the computed size is epsilon under the actual value due to floating point error.
sql-plugin/src/main/scala/com/nvidia/spark/rapids/GpuRowToColumnarExec.scala
Outdated
Show resolved
Hide resolved
build |
The dependency has is now in the SNAPSHOT build for cudf so this is no longer WIP |
Signed-off-by: Robert (Bobby) Evans <bobby@apache.org>
Signed-off-by: Robert (Bobby) Evans <bobby@apache.org>
Signed-off-by: Robert (Bobby) Evans <bobby@apache.org>
…IDIA#1104) Signed-off-by: spark-rapids automation <70000568+nvauto@users.noreply.github.com>
This is blocked on rapidsai/cudf#6749 going in. After it is in this will support moving lists to/from the GPU., even nested lists.
There is also some refactoring of the code associated with this to try and make it cleaner/simpler to test/support.
I will likely still add in some tests for existing array operators to be sure that they are working correctly.