Skip to content
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.

[NSE-931] Reuse partition vectors for arrow scan #935

Merged
merged 3 commits into from
Aug 14, 2022

Conversation

jackylee-ch
Copy link
Contributor

What changes were proposed in this pull request?

Every time we read a arrow record batch from Parquet,we will use partitionValues to create partitionVectors and add them to record batch. Actually, the partition value won't change in the reading of one PartitionFile. We can create one partitionVectors for each PartitionFile and reuse it until task finished.

How was this patch tested?

unit tests.

@github-actions
Copy link

#931

@zhouyuan
Copy link
Collaborator

@jackylee-ch can you please do a rebase?

@jackylee-ch
Copy link
Contributor Author

@jackylee-ch can you please do a rebase?

I have fixed the conflict.

@zhouyuan zhouyuan merged commit 6661b7b into oap-project:main Aug 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants