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

fix: arrow meta data is lost when decode custom meta data #1004

Merged
merged 3 commits into from
Jun 19, 2023

Conversation

ShiKaiWi
Copy link
Member

@ShiKaiWi ShiKaiWi commented Jun 19, 2023

Rationale

The metadata for arrow schema is encoded into the parquet file. However, this part is lost when building our custom metadata.

Detailed Changes

Keep the other metadata in the parquet metadata after extracting our custom metadata.

Test Plan

Add unit test test_arrow_meta_data for it.

@ShiKaiWi ShiKaiWi force-pushed the fix-missing-arrow-meta-data branch from 5b34c04 to cfb9bfb Compare June 19, 2023 11:04
@tanruixiang
Copy link
Member

LGTM

@ShiKaiWi ShiKaiWi merged commit 907058e into apache:main Jun 19, 2023
@ShiKaiWi ShiKaiWi deleted the fix-missing-arrow-meta-data branch June 19, 2023 11:52
MichaelLeeHZ pushed a commit to MichaelLeeHZ/ceresdb that referenced this pull request Jun 21, 2023
The metadata for arrow schema is encoded into the parquet file. However,
this part is lost when building our custom metadata.

Keep the other metadata in the parquet metadata after extracting our
custom metadata.

Add unit test `test_arrow_meta_data` for it.
tanruixiang pushed a commit to tanruixiang/incubator-horaedb that referenced this pull request Jun 25, 2023
The metadata for arrow schema is encoded into the parquet file. However,
this part is lost when building our custom metadata.

Keep the other metadata in the parquet metadata after extracting our
custom metadata.

Add unit test `test_arrow_meta_data` for it.
chunshao90 pushed a commit to chunshao90/ceresdb that referenced this pull request Jun 25, 2023
The metadata for arrow schema is encoded into the parquet file. However,
this part is lost when building our custom metadata.

Keep the other metadata in the parquet metadata after extracting our
custom metadata.

Add unit test `test_arrow_meta_data` for it.
dust1 pushed a commit to dust1/ceresdb that referenced this pull request Aug 9, 2023
## Rationale
The metadata for arrow schema is encoded into the parquet file. However,
this part is lost when building our custom metadata.

## Detailed Changes
Keep the other metadata in the parquet metadata after extracting our
custom metadata.

## Test Plan
Add unit test `test_arrow_meta_data` for it.
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.

2 participants