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

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

Open
rderbier opened this issue Jun 22, 2023 · 1 comment
Labels
dgraph Issue or PR created by an internal Dgraph contributor. kind/bug Something is broken.

Comments

@rderbier
Copy link
Contributor

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 rderbier added the kind/bug Something is broken. label Jun 22, 2023
@MichelDiz MichelDiz added the dgraph Issue or PR created by an internal Dgraph contributor. label Jun 26, 2023
@mangalaman93
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dgraph Issue or PR created by an internal Dgraph contributor. kind/bug Something is broken.
Development

No branches or pull requests

3 participants