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 support for decimal types #70

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

brendanyounger
Copy link

Can now read parquet files with decimal types.

@za-arthur za-arthur added the enhancement New feature or request label Apr 28, 2023
Copy link
Contributor

@za-arthur za-arthur left a comment

Choose a reason for hiding this comment

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

Thank you @brendanyounger for the new feature. Could you also add tests and fix README?

@@ -69,6 +70,8 @@ to_postgres_type(int arrow_type)
return TIMESTAMPOID;
case arrow::Type::DATE32:
return DATEOID;
case arrow::Type::DECIMAL:
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't be DECIMAL128 and DECIMAL256 used here similar to bytes_to_postgres_type?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants