-
Notifications
You must be signed in to change notification settings - Fork 245
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Speed up copying decimal column from parquet buffer to GPU buffer #4872
Speed up copying decimal column from parquet buffer to GPU buffer #4872
Conversation
Signed-off-by: sperlingxx <lovedreamf@gmail.com>
build |
1 similar comment
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.
Are there any microbenchmark numbers showing the performance effects of this change?
sql-plugin/src/main/java/com/nvidia/spark/rapids/ColumnarCopyHelper.java
Outdated
Show resolved
Hide resolved
import ai.rapids.cudf.HostColumnVectorCore; | ||
import org.apache.hadoop.hive.ql.exec.vector.DecimalColumnVector; | ||
import org.apache.spark.sql.execution.datasources.orc.OrcAtomicColumnVector; | ||
import org.apache.spark.sql.execution.datasources.orc.OrcColumnVector; |
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.
nit: I don't think that the ORC columns are used and should probably be removed.
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.
Yes, I fixed it.
build |
1 similar comment
build |
build |
Signed-off-by: sperlingxx lovedreamf@gmail.com
Closes #4784
Adds specialized support for the columnar copy of
WritableColumnVector
on decimal type. The new implementation copies the unscaled values directly to avoid the round trip of Decimal encoding/decoding.