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 rdf type xsd:decimal #926

Closed
zaredb opened this issue May 11, 2017 · 5 comments

Comments

@zaredb
Copy link

commented May 11, 2017

Importing an RDF with officially supported XML data type decimal fails

RDF Compatible core types: https://www.w3.org/TR/rdf11-concepts/#dfn-rdf-compatible-xsd-types

Supported types in dgraph loader

var typeMap = map[string]types.TypeID{

@ashwin95r

This comment has been minimized.

Copy link
Contributor

commented Jul 3, 2017

Supporting arbitrary precision decimal numbers isn't on the roadmap. You can use float (which uses 64 bits), or strings to represent this data.

@EronWright

This comment has been minimized.

Copy link

commented Jul 8, 2018

Support for arbitrary precision decimal numbers would be quite handy for cryptocurrency applications, which routinely model currency units (e.g. Ethereum ether, wei) as xsd:decimal / BigDecimal.

@manishrjain

This comment has been minimized.

Copy link
Member

commented Jul 9, 2018

Yeah, we should consider supporting BigDecimal types.

@EronWright

This comment has been minimized.

Copy link

commented Jul 10, 2018

To facilitate a contribution, would someone kindly enumerate the high-level tasks? Thanks!

@manishrjain

This comment has been minimized.

Copy link
Member

commented Jan 11, 2019

Closing this in favor of a newer duplicate issue.

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