dgraph icon indicating copy to clipboard operation
dgraph copied to clipboard

[BUG]: dgraph live loops on error when loading a float RDF to a int predicate

Open rderbier opened this issue 1 year ago • 1 comments

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 avatar Jun 22 '23 15:06 rderbier

@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?

mangalaman93 avatar Aug 25 '23 01:08 mangalaman93

This issue has been stale for 60 days and will be closed automatically in 7 days. Comment to keep it open.

github-actions[bot] avatar Jul 16 '24 14:07 github-actions[bot]