-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-20783][SQL] Create CachedBatchColumnVector to abstract existing compressed column #18468
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
Closed
Closed
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
d4c7d1a
initial commit
kiszk 176fcc9
fix scala style error
kiszk 920b38b
introduced VectorType into ColumnVector
kiszk aa67f9c
add a new file
kiszk de27a10
remove ON_HEAP_CACHEDBATCH
kiszk bb47299
add missing methods
kiszk cb3e631
add ColumnAccessor.extract(ColumnVector, rowId)
kiszk 68f7e39
rename OnHeapCachedBatch.java to CachedBatchColumnVector.java
kiszk a068ada
address review comments
kiszk 7c13ed6
address review comments
kiszk d8fede6
address review comments
kiszk 780115b
address review comment
kiszk 31d2dd7
address review comments
kiszk 8aa9b16
address review comments
kiszk 332fc6c
address review comment
kiszk dc331f1
address review comments
kiszk 70042d5
fix test faiures
kiszk d16779f
address review comment
kiszk ff324fd
addressed review comments
kiszk 157fde1
add initialize() method for reusing CachedBatchColumnVector
kiszk a26dc15
make initialize public
kiszk 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
address review comments
- Loading branch information
commit dc331f138ee22f3567bfc8a6f5b1e39e7102affd
There are no files selected for viewing
This file contains hidden or 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.
do we support reading values in a random order? e.g.
getBoolean(2), getBoolean(1), getBoolean(2)?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.
We do not support reading values in a random order. This is because implementation of
CompressionScheme(e.g.IntDelta) supports only sequential access.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.
then we should throw exception for this case instead of returning wrong result.
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 see. I will add code to track access order for each getter.