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 Money Type in Postgres -> Arrow Conversion #50

Merged

Conversation

Sevenannn
Copy link
Contributor

Support Money Type in Postgres -> Arrow Conversion
Since there's no arrow data type of money, while postgres Money is sent as an i64 of the lowest denomination of money in the underlying bindings. The money will be converted into lowest denomination in i64, and stored in arrow i64 array, to ensure the integrity of the actual cash value.

  • Create MoneyFromSql to parse the raw money data sent from postgres
  • Unit test is added and passed

@phillipleblanc phillipleblanc merged commit 161c853 into datafusion-contrib:main Aug 17, 2024
3 checks passed
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