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

Add type to ParquetNodeToTypeWithWriterFunc log #98

Merged

Conversation

ohkinozomu
Copy link
Contributor

I was playing with the sample code and thought it would be easier to debug if the log showed the type of parquet.Node.

I also thought that Int64 was appropriate for the StorageLayout of value in the sample code.

@brancz
Copy link
Member

brancz commented Jun 16, 2022

Whops yeah you’re right. Would be neat to support float64/doubles though as that’s what promtheus actually uses. Do you want to contribute that?

I’ll still merge this so the example that we have works, but would be cool to actually support the “right” type.

@brancz brancz merged commit 367f238 into polarsignals:main Jun 16, 2022
@ohkinozomu ohkinozomu mentioned this pull request Jun 17, 2022
@ohkinozomu
Copy link
Contributor Author

Would be neat to support float64/doubles though as that’s what promtheus actually uses. Do you want to contribute that?

Yes, but I'm not yet familiar with the code regarding writer. I'll continue reading.
For now, I have created an issue and a very small pull request.

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