Skip to content
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

Spark 3.5: Make ColumnVectorWithFilter generic and refactor batch load #12056

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

aokolnychyi
Copy link
Contributor

This PR makes ColumnVectorWithFilter generic by wrapping arbitrary ColumnVector implementations and refactors logic for loading columnar batches.

@github-actions github-actions bot added the spark label Jan 22, 2025
@aokolnychyi aokolnychyi force-pushed the column-vector-with-filter branch from 497b6a5 to 85419ce Compare January 23, 2025 01:25
}

@Override
public ColumnarArray getArray(int rowId) {
if (isNullAt(rowId)) {
Copy link
Contributor Author

@aokolnychyi aokolnychyi Jan 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We no longer need this as we wrap valid ColumnVector implementations now.

@aokolnychyi
Copy link
Contributor Author

@huaxingao, could you check this one? I've been meaning to refactor our ColumnVectorWithFilter.

@huaxingao
Copy link
Contributor

Thanks for the refactor! The code is much cleaner now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants