[FEA] Improve copying decimal data from CPU columnar data #4784
Labels
feature request
New feature or request
performance
A performance related task/issue
task
Work required that improves the product but is not user facing
Is your feature request related to a problem? Please describe.
For now, when we copy decimal column vectors during
HostColumnarToGpu
, it involves a round trip of Decimal encoding and decoding for each value:cv.getDecimal(i, precision, scale).toUnscaledLong()
, which can be avoided under some circumstances.Describe the solution you'd like
Ideally, we can bypass the round trip through feeding
cuDF.HostColumnBuilder
with the underlying storage(int32/int64/binary), if we know the exact type of upstreaming ColumnVector, such as:WritableColumnVector
.The text was updated successfully, but these errors were encountered: