-
Notifications
You must be signed in to change notification settings - Fork 925
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
Implement batch construction for strings columns #17035
Implement batch construction for strings columns #17035
Conversation
Signed-off-by: Nghia Truong <nghiat@nvidia.com>
5d6d5e7
to
e252fb4
Compare
Signed-off-by: Nghia Truong <nghiat@nvidia.com>
Signed-off-by: Nghia Truong <nghiat@nvidia.com>
Signed-off-by: Nghia Truong <nghiat@nvidia.com>
92fb05d
to
326d73e
Compare
Signed-off-by: Nghia Truong <nghiat@nvidia.com>
Signed-off-by: Nghia Truong <nghiat@nvidia.com>
Signed-off-by: Nghia Truong <nghiat@nvidia.com>
Signed-off-by: Nghia Truong <nghiat@nvidia.com>
Signed-off-by: Nghia Truong <nghiat@nvidia.com>
…cuh` Signed-off-by: Nghia Truong <nghiat@nvidia.com>
Signed-off-by: Nghia Truong <nghiat@nvidia.com>
a783d19
to
f8957f1
Compare
Does this supersede #16727? Can that one be closed? |
Signed-off-by: Nghia Truong <nghiat@nvidia.com>
Signed-off-by: Nghia Truong <nghiat@nvidia.com>
Signed-off-by: Nghia Truong <nghiat@nvidia.com>
This reverts commit c981e99.
There seems to be a failed test and I can't reproduce it locally. Convert into draft while investigating. |
Signed-off-by: Nghia Truong <nghiat@nvidia.com>
This reverts commit 4190cfd.
Found the cause of issue, which should be fixed by #17074. Now wait for it to be merged first. |
Signed-off-by: Nghia Truong <nghiat@nvidia.com>
Signed-off-by: Nghia Truong <nghiat@nvidia.com>
} | ||
}(); | ||
auto chars_data = | ||
make_chars_buffer(offsets_column->view(), bytes, begin, strings_count, stream, mr); |
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.
I wonder if this could replace gather_chars
in
auto out_chars_data = gather_chars( |
Out of scope for this PR I think. I can make a note to look into this in a follow on PR.
Signed-off-by: Nghia Truong <nghiat@nvidia.com>
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.
This new feature is awesome. Thanks! @ttnghia
/merge |
This implements batch construction of strings columns, allowing to create a large number of strings columns at once with minimal overhead of kernel launch and stream synchronization. There should be only one stream sync in the entire column construction process.
Benchmark: #17035 (comment)
Closes #16486.