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

refactor: change blocking pruning process to non-blocking channel #16718

Merged
merged 12 commits into from
Nov 4, 2024

Conversation

dqhl76
Copy link
Collaborator

@dqhl76 dqhl76 commented Oct 29, 2024

I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/

Summary

Initialize the refactoring work of #16626

  • Replaced ReadNativeDataSource and ReadParquetDataSource with ReadNativeDataTransform and ReadParquetDataTransform
  • Split Read{Native|Parquet}DataSource's generating work to BlockPartitionReceiverSource (used to receive meta from a channel), and BlockPartitionSource (used to get meta from StealablePartitions)

Change the original ParquetSource and NativeSource into a Sourcer responsible only for receiving data and a Transformer responsible only for reading data:
image

Tests

  • Unit Test
  • Logic Test
  • Benchmark Test
  • No Test - Explain why

Type of change

  • Bug Fix (non-breaking change which fixes an issue)
  • New Feature (non-breaking change which adds functionality)
  • Breaking Change (fix or feature that could cause existing functionality not to work as expected)
  • Documentation Update
  • Refactoring
  • Performance Improvement
  • Other (please describe):

This change is Reviewable

@github-actions github-actions bot added the pr-refactor this PR changes the code base without new features or bugfix label Oct 29, 2024
@dqhl76 dqhl76 added ci-benchmark-cloud Benchmark: run only cloud tests for tpch/hits and removed ci-benchmark-cloud Benchmark: run only cloud tests for tpch/hits labels Oct 29, 2024
Copy link
Contributor

Docker Image for PR

  • tag: pr-16718-f5fe04d-1730206705

note: this image tag is only available for internal use,
please check the internal doc for more details.

@dqhl76 dqhl76 added the ci-benchmark-cloud Benchmark: run only cloud tests for tpch/hits label Oct 31, 2024
Copy link
Contributor

Docker Image for PR

  • tag: pr-16718-99498e2-1730376243

note: this image tag is only available for internal use,
please check the internal doc for more details.

@dqhl76 dqhl76 removed the ci-benchmark-cloud Benchmark: run only cloud tests for tpch/hits label Oct 31, 2024
@dqhl76 dqhl76 added the ci-benchmark Benchmark: run all test label Nov 1, 2024
Copy link
Contributor

github-actions bot commented Nov 1, 2024

Docker Image for PR

  • tag: pr-16718-9e20412-1730437046

note: this image tag is only available for internal use,
please check the internal doc for more details.

@dqhl76 dqhl76 marked this pull request as ready for review November 1, 2024 05:39
@zhang2014
Copy link
Member

logic test time out.

@zhang2014 zhang2014 added ci-benchmark Benchmark: run all test and removed ci-benchmark Benchmark: run all test labels Nov 1, 2024
Copy link
Contributor

github-actions bot commented Nov 1, 2024

Docker Image for PR

  • tag: pr-16718-c784ec7-1730449186

note: this image tag is only available for internal use,
please check the internal doc for more details.

@dqhl76 dqhl76 added ci-benchmark Benchmark: run all test and removed ci-benchmark Benchmark: run all test labels Nov 1, 2024
Copy link
Contributor

github-actions bot commented Nov 1, 2024

Docker Image for PR

  • tag: pr-16718-b1bb7b6-1730455458

note: this image tag is only available for internal use,
please check the internal doc for more details.

@dqhl76 dqhl76 added this pull request to the merge queue Nov 4, 2024
@BohuTANG BohuTANG removed this pull request from the merge queue due to a manual request Nov 4, 2024
@BohuTANG BohuTANG merged commit dad2e41 into databendlabs:main Nov 4, 2024
89 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci-benchmark Benchmark: run all test pr-refactor this PR changes the code base without new features or bugfix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants