dgraph
dgraph copied to clipboard
[BUG]: dgraph live loops on error when loading a float RDF to a int predicate
What version of Dgraph are you using?
v23.0
Tell us a little more about your go-environment?
No response
Have you tried reproducing the issue with the latest release?
Yes
What is the hardware spec (RAM, CPU, OS)?
cloud
What steps will reproduce the bug?
create a predicate end_index of type int
load the predicate <_:test> <end_index> "116.0" .
with dgraph live loader
you get an infinite Processing data file "a.rdf" Error while mutating: strconv.ParseInt: parsing "116.0": invalid syntax s.Code Unknown Error while mutating: strconv.ParseInt: parsing "116.0": invalid syntax s.Code Unknown Error while mutating: strconv.ParseInt: parsing "116.0": invalid syntax s.Code Unknown Error while mutating: strconv.ParseInt: parsing "116.0": invalid syntax s.Code Unknown Error while mutating: strconv.ParseInt: parsing "116.0": invalid syntax s.Code Unknown Error while mutating: strconv.ParseInt: parsing "116.0": invalid syntax s.Code Unknown ...
Expected behavior and actual result.
No response
Additional information
No response
@rderbier to me this seems acceptable, that I see the issue and stop the live loader. Then fix it and run it again. What do you expect to see different here?
This issue has been stale for 60 days and will be closed automatically in 7 days. Comment to keep it open.