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

Handle inconsistent scale in Postgres Numeric Type data #110

Merged
merged 7 commits into from
Sep 19, 2024

Conversation

Sevenannn
Copy link
Contributor

Postgres numeric type doesn't necessarily contain value with same scale, while arrow decimal type has a fixed scale, update the row -> arrow conversion to resolve scale difference across rows, and add a test to verify the fix.

@Sevenannn Sevenannn marked this pull request as ready for review September 18, 2024 18:51
@Sevenannn Sevenannn changed the title Fix Postgres Numeric Type Handle inconsistent scale in Postgres Numeric Type data Sep 18, 2024
@sgrebnov sgrebnov merged commit b42b242 into datafusion-contrib:spiceai Sep 19, 2024
3 checks passed
hozan23 pushed a commit to hozan23/datafusion-table-providers that referenced this pull request Sep 24, 2024
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.

3 participants