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

Remove hard-coded FLOAT for numeric types #11

Closed
wolfadactyl opened this issue Mar 4, 2021 · 1 comment
Closed

Remove hard-coded FLOAT for numeric types #11

wolfadactyl opened this issue Mar 4, 2021 · 1 comment

Comments

@wolfadactyl
Copy link

I mentioned this issue in the RealSelf repo but figured I'd post here as well in case there is more traction. At current it does not appear to be possible to have an output that uses numeric instead of float data types - this is ok for some applications but a critical bug for places where accuracy is important due to the nature of issues involving floating point precision. It would be great if it were possible to change to using NUMERIC data types in some way, although I'm not sure what all it would take to make that configurable.

@zvizdo
Copy link

zvizdo commented Mar 23, 2021

Thank you for a great idea!
We have added this functionality to this branch and will be added to the next release.

Your JSON schema should be formatted like this:
"deci": { "type": "string", "format": "bq-decimal" }

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

No branches or pull requests

2 participants