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

Support for custom metadata? #248

Open
vreuter opened this issue Jan 26, 2022 · 3 comments
Open

Support for custom metadata? #248

vreuter opened this issue Jan 26, 2022 · 3 comments

Comments

@vreuter
Copy link

vreuter commented Jan 26, 2022

Hello,

Is there any effort underway (or interest in) to allow users to write additional file-level metadata, e.g. for provenance of how data contained were generated? Something like for the library's own declaration?

private val SignatureMetadata = Map("MadeBy" -> "https://github.com/mjakubowski84/parquet4s")

Sorry if I missed this in docs or looking around the code, but I didn't see it available.

Thank you!

@mjakubowski84
Copy link
Owner

No, there's no effort planned. Feel free to propose any change, PRs are welcome.

FYI, besides that "signature" metadata contains schema name which is either class name or "parquet4s_schema" if class name cannot be resolved: https://github.com/mjakubowski84/parquet4s/blob/master/core/src/main/scala/com/github/mjakubowski84/parquet4s/Schema.scala#L22

@vreuter
Copy link
Author

vreuter commented Feb 7, 2022

@mjakubowski84 I haven't yet made time to look at what this would need, but I am interested. Will let you know if I start to work on it.

@mjakubowski84
Copy link
Owner

Great! Looking forward to your contribution!

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

No branches or pull requests

2 participants