-
Notifications
You must be signed in to change notification settings - Fork 915
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
Adding MAP type support for ORC Reader #9132
Merged
rapids-bot
merged 27 commits into
rapidsai:branch-21.10
from
rgsl888prabhu:orc_map_support_8826
Sep 9, 2021
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
710e2f6
code changes and test cases
rgsl888prabhu c2efba9
test file
rgsl888prabhu 73df774
review changes and doc
rgsl888prabhu 896fc8e
primary changes
rgsl888prabhu 6618164
primary changes
rgsl888prabhu 3494a79
test cases working
rgsl888prabhu 97ad267
clean-up
rgsl888prabhu 1bd9607
added test case and docs
rgsl888prabhu 61e9247
Merge branch 'branch-21.08' of https://github.com/rapidsai/cudf into …
rgsl888prabhu 1499459
Fixes for pyspark generated orc file reading
rgsl888prabhu 5546b32
changes
rgsl888prabhu bcc7dcb
changes
rgsl888prabhu 470b7c0
review changes
rgsl888prabhu 40c8115
review changes
rgsl888prabhu 31a2c51
review changes
rgsl888prabhu 2d3842a
review changes
rgsl888prabhu bf57b6b
review changes
rgsl888prabhu 56290a5
Merge github.com:rapidsai/cudf into orc_struct_null_issue
rgsl888prabhu fbd778d
changes and test cases
rgsl888prabhu 3e4303a
Merge branch 'branch-21.10' of github.com:rapidsai/cudf into orc_map_…
rgsl888prabhu 62d5ace
Merge branch 'branch-21.10' of github.com:rapidsai/cudf into orc_map_…
rgsl888prabhu de09ec6
python changes
rgsl888prabhu 9f13110
changes
rgsl888prabhu 398d9e3
changes
rgsl888prabhu ef6bf26
Merge branch 'branch-21.10' of github.com:rapidsai/cudf into orc_map_…
rgsl888prabhu ff07025
using alias, created a function to fetch name for map child column na…
rgsl888prabhu 95eec44
Update cpp/src/io/orc/reader_impl.cu
rgsl888prabhu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -176,7 +176,8 @@ class reader::impl { | |
*/ | ||
column_buffer&& assemble_buffer(const int32_t orc_col_id, | ||
std::vector<std::vector<column_buffer>>& col_buffers, | ||
const size_t level); | ||
const size_t level, | ||
rmm::cuda_stream_view stream); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should this have a default, or will we always be calling it internally with a stream? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, this is only for internal use only. |
||
|
||
/** | ||
* @brief Create columns and respective schema information from the buffer. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Does this need to throw an exception if
type == type_id::DECIMAL32
?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 case of orc:Decimal, there are chances where they expect us to return Double. And orc supports only Decimal64 and Decimal128 if I am not wrong.