Skip to content
This repository was archived by the owner on Mar 12, 2026. It is now read-only.

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

Merged
ShiKaiWi merged 3 commits into
apache:mainfrom
ShiKaiWi:fix-missing-arrow-meta-data
Jun 19, 2023
Merged

fix: arrow meta data is lost when decode custom meta data#1004
ShiKaiWi merged 3 commits into
apache:mainfrom
ShiKaiWi:fix-missing-arrow-meta-data

Conversation

@ShiKaiWi

@ShiKaiWi ShiKaiWi commented Jun 19, 2023

Copy link
Copy Markdown
Member

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
Comment thread analytic_engine/src/sst/meta_data/cache.rs Outdated
@tanruixiang

Copy link
Copy Markdown
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 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