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

Parquet metadata udfs #33

Closed
wants to merge 1 commit into from
Closed

Conversation

aykut-bozkurt
Copy link
Collaborator

  • Adds "parquet.schema" udf to inspect the schema of a parquet file,
  • Adds "parquet.metadata", "parquet.file_metadata", and "parquet.kv_metadata" udfs to inspect the metadata of a parquet file.

mod parquet {
use super::*;

#[pg_extern]
Copy link
Collaborator

Choose a reason for hiding this comment

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

high-level pgrx question, how does it handle function signature changes over time?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

cargo pgrx schema generates sql file of the current version. Then, we need to use a schema diff tool to generate the schema diffs. An example script that does it example new release.

- adds "parquet.schema" udf to inspect the schema of a parquet file,
- adds "parquet.metadata", "parquet.file_metadata", and "parquet.kv_metadata" udfs to inspect the metadata of a parquet file.
@aykut-bozkurt
Copy link
Collaborator Author

Addressed at development branch.

@aykut-bozkurt aykut-bozkurt deleted the parquet-metadata-udfs branch October 17, 2024 13:01
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