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 arbitrary-precision numeric types #2107

malzzz opened this issue Feb 9, 2018 · 3 comments


Copy link

commented Feb 9, 2018

My use-case for dgraph deals almost exclusively with 256-bit uints. Are there any plans for bignum datatypes at any point in the future? If not, is there possibly a way to implement that myself as a plugin? There are some workarounds I can use, like storing raw representations as strings, but none of those are ideal, since they'd limit the range of possible queries. Thanks!


This comment has been minimized.

Copy link

commented Feb 11, 2018

We may support them later but it's not a priority right now since there isn't enough demand for it. Adding support is non-trivial since Go doesn't support these types natively.


This comment has been minimized.

Copy link

commented Jan 5, 2019

Related: #926


This comment has been minimized.

Copy link

commented Jan 11, 2019

We can switch our implementations to this. Or, introduce a new type for arbitrary-precision numeric types:

@campoy campoy added this to the Unplanned (v1.x) milestone Jul 11, 2019

@campoy campoy changed the title Any plans to add arbitrary-precision numeric types? Support arbitrary-precision numeric types Jul 11, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
5 participants
You can’t perform that action at this time.