-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Interface conversion error while live loading exported JSON data #4468
Comments
It is happening with RDF dataset as well. |
It is happening with RDF dataset as well with the shell below: nohup ./bin/dgraph live -f ./data --format rdf -s ./schema.txt -a "172.21.46.35:9080,172.21.46.39:9080,172.21.46.40:9080" > live.log 2>&1 & |
@sleto-it quick note about this issue. it is not related to #3610 After reading this https://discuss.dgraph.io/t/panic-when-importing-a-bigger-dataset-in-tour/5969 I noticed the "YearTokenizer" error msg. So this is related to Datetime Tokenizers. If I removed the indexing from the schema it loads normally. To test just create an empty RDF file(no need to gzip it) and add:
and load it:
if you add
So, the workaround, for now, is to remove the indexing just in the moment of the load. And then you can add again the indexing that will be fine. Also, we need to make sure that we have small test cases for each case of a load(or even just for Tokenizers). Thus making sure that won't happen again. The test was done with RDF in this version bellow
|
Something more about this: the @index(float) and @index(int) have the same problem |
For fix the load in tour https://tour.dgraph.io/moredata/1/: Change this:
To this:
press |
@iuryfukuda we can't edit the tour for that. We have to fix the issue. But thanks. |
@MichelDiz Yeah, no problem, I only putted a resolution description of the tour in this issue if anyone needs. |
The line above should have |
What version of Dgraph are you using?
master
Steps to reproduce the issue (command/config used to run Dgraph).
Expected behaviour and actual result.
This issue is seen only while live loading JSON data and not for RDFs.
Also, I was able to bulk load the exported data in both JSON and RDFs without any problem.
Note: Dataset used here was from JS Flock.
The text was updated successfully, but these errors were encountered: