ohenley
(Ohenley)
February 9, 2020, 2:58am
1
Hi,
Using the python client and setting a float predicate to eg. 1.0537184203964164e-08 returns 0.0 when querying the db. Is it normal or am I overlooking something?
Thx.
MichelDiz
(Michel Diz)
February 9, 2020, 9:23pm
2
I think this is a known issue
Can you try this PR?
dgraph-io:main β dgraph-io:harshil-goel/big-int-support
opened 12:32PM - 13 Sep 19 UTC
This PR adds BigFloat as another scalar type in schema.
For now, it supports s⦠toring and retrieving 200 precision float, which isn't possible with just a float64.
Work Remaining:
- [x] Precision is hardcoded to 200
- [x] No support for aggregate functions
- [x] Add tests
---
This change isβ[<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/dgraph-io/dgraph/3981)
ohenley
(Ohenley)
February 10, 2020, 12:02am
3
Not at the moment. I will circumvent for the time being and watch that PR closely.
Thanks for the pointer.