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

Convert '0.0' to '0' if field can be an integer #67

Merged
merged 1 commit into from
Aug 27, 2019

Conversation

dmosorast
Copy link
Contributor

Sometimes Salesforce returns an integer field with a value of '0.0' (which is clearly a float). Since this is equivalent, and according to the schema generation code here the tap won't generate a schema with both number and integer. We can safely convert this to an "integer" zero value in this case.

@dmosorast dmosorast merged commit 493edcb into master Aug 27, 2019
@dmosorast dmosorast deleted the fix/integer-fields-with-zero-float-value branch August 27, 2019 15:53
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.

1 participant