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

Fixed multipleOf validation issue: convert float to Decimal #11

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Fixed multipleOf validation issue: convert float to Decimal #11

wants to merge 2 commits into from

Conversation

koszti
Copy link

@koszti koszti commented Oct 14, 2018

Failing to load floats into Postgres when the values are validated by "multipleOf": x in the schema. This is reported in issue #6 and I was facing the same problem .

The reason is that multipleOf requires values as Decimals and we need to convert the input floats to Decimals to work correctly. The idea and the logic is copied from target-stitch

@koszti koszti mentioned this pull request Oct 23, 2018
@robmoore
Copy link

I'm running into this so adding my +1

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