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

[Data] Store serialized ParquetFileFragment in _ParquetDatasourceReader #38797

Merged
merged 3 commits into from
Aug 24, 2023

Conversation

c21
Copy link
Contributor

@c21 c21 commented Aug 23, 2023

Why are these changes needed?

Found regression in release test - #38790, where Parquet metdata fetching become slow. I suspect this is related to the ParquetFileFragment serialization triggered inside _ParquetDatasourceReader. So trying out this fix to see if release test gets fixed.

Related issue number

#38790

Checks

  • I've signed off every commit(by using the -s flag, i.e., git commit -s) in this PR.
  • I've run scripts/format.sh to lint the changes in this PR.
  • I've included any doc changes needed for https://docs.ray.io/en/master/.
    • I've added any new APIs to the API Reference. For example, if I added a
      method in Tune, I've added it in doc/source/tune/api/ under the
      corresponding .rst file.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/
  • Testing Strategy
    • Unit tests
    • Release tests
    • This PR is not tested :(

Signed-off-by: Cheng Su <[email protected]>
@c21
Copy link
Contributor Author

c21 commented Aug 23, 2023

Rerun the release test (link), and verified the time dropped to be same as before:

[INFO 2023-08-23 22:17:30,577] log.py: 41  Observed the following results:
  |  
  | metadata_load_time = 37.145771741867065
  | success = 1

@c21
Copy link
Contributor Author

c21 commented Aug 24, 2023

This PR is bugfix to resolve data release test blocker - #38790 . cc @zhe-thoughts for review.

Copy link
Collaborator

@zhe-thoughts zhe-thoughts left a comment

Choose a reason for hiding this comment

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

This qualifies as a release blocker.

@c21 I'll trust you to give me a green light when CI looks good. Then I will merge

@c21
Copy link
Contributor Author

c21 commented Aug 24, 2023

@zhe-thoughts - yes, I checked the CI and the failure tests are not related.

@zhe-thoughts zhe-thoughts merged commit 82d3f35 into ray-project:master Aug 24, 2023
50 of 53 checks passed
@c21 c21 deleted the parquet-reader branch August 24, 2023 05:44
arvind-chandra pushed a commit to lmco/ray that referenced this pull request Aug 31, 2023
…er (ray-project#38797)

* Store serialized ParquetFileFragment in _ParquetDatasourceReader

Signed-off-by: Cheng Su <[email protected]>
Signed-off-by: e428265 <[email protected]>
vymao pushed a commit to vymao/ray that referenced this pull request Oct 11, 2023
…er (ray-project#38797)

* Store serialized ParquetFileFragment in _ParquetDatasourceReader

Signed-off-by: Cheng Su <[email protected]>
Signed-off-by: Victor <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants