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: separate object store from parquet sst async reader #503

Merged
merged 4 commits into from
Dec 22, 2022

Conversation

ShiKaiWi
Copy link
Member

Which issue does this PR close?

Prepare for #495

Rationale for this change

In order to control how to decode our custom sst file, the object store must be separated from the Parquet SST async reader because the api of object store has no flexibility to introduce another footer after the original file content.

What changes are included in this PR?

  • Separate the ObjectStore from the parquet sst async reader.

Are there any user-facing changes?

None.

How does this change test

Existing tests.

@ShiKaiWi ShiKaiWi marked this pull request as ready for review December 22, 2022 01:51
Copy link
Contributor

@chunshao90 chunshao90 left a comment

Choose a reason for hiding this comment

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

LGTM

@ShiKaiWi ShiKaiWi merged commit 436d4f0 into apache:main Dec 22, 2022
@ShiKaiWi ShiKaiWi deleted the refactor-sst-async-reader branch December 22, 2022 12:09
ShiKaiWi added a commit that referenced this pull request Dec 27, 2022
* refactor: separate object store from parquet sst async reader (#503)

* refactor: separate object store from parquet sst async reader

* fix errors in unit tests

* use const FOOTER_LEN

* add GenericResult

* refactor: recovery in standalone mode (#414)

* refactor recovery in standalone mode.

* make getting table infos dynamically.

* define `LocalTablesRecoverer`.

* address CR.

* feat: support parse key partition (#506)

* add key partition parser

* refactor the codes

* add unit test

* fix show create table for partition table

* address CR issues

* supplement the error msg when fail to parse partition key

* fix unit tests

Co-authored-by: CooooolFrog <zuliangwanghust@gmail.com>

* chore: define remote_engine grpc service (#505)

Co-authored-by: kamille <34352236+Rachelint@users.noreply.github.com>

* feat: impl key partition rule (#507)

* impl key partition rule(draft).

* refactor to more extensible and testable version.

* add tests for key partition.

* add df adapter and partition rule's building.

* address CR.

Co-authored-by: WEI Xikai <ShiKaiWi@users.noreply.github.com>
Co-authored-by: kamille <34352236+Rachelint@users.noreply.github.com>
Co-authored-by: CooooolFrog <zuliangwanghust@gmail.com>
Co-authored-by: chunshao.rcs <chunshao.rcs@antgroup.com>
ShiKaiWi added a commit to ShiKaiWi/ceresdb that referenced this pull request Jan 4, 2023
ShiKaiWi added a commit that referenced this pull request Jan 4, 2023
#536)

* Revert "refactor: separate object store from parquet sst async reader (#503)"

This reverts commit 436d4f0.

* fix missing package
chunshao90 pushed a commit to chunshao90/ceresdb that referenced this pull request May 15, 2023
…#503)

* refactor: separate object store from parquet sst async reader

* fix errors in unit tests

* use const FOOTER_LEN

* add GenericResult
chunshao90 pushed a commit to chunshao90/ceresdb that referenced this pull request May 15, 2023
apache#536)

* Revert "refactor: separate object store from parquet sst async reader (apache#503)"

This reverts commit be6002c.

* fix missing package
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

2 participants