These are chat archives for dgraph-io/dgraph

18th
Apr 2016
Ashwin Ramesh
@ashwin95r
Apr 18 2016 02:52
Hey @manishrjain , do we have a meeting now?
Manish R Jain
@manishrjain
Apr 18 2016 02:54
No. No meeting.
Think we all know what we are working on.
Ashwin Ramesh
@ashwin95r
Apr 18 2016 02:55
Okay cool
Pawan Rawal
@pawanrawal
Apr 18 2016 06:00
On running queries on server , I get back a json response with only the uid
{"_root_":[{"_uid_":"0xbb0de646eaf32b74"}],"server_latency":{"json":"34.763µs","parsing":"454.248µs","processing":"1.651498ms","total":"2.165241ms"}}
Any idea why this could be happening ? @manishrjain @ashwin95r
running the query for getting Details of all the movies directed by Steven Spielberg like release date, actors, genre etc.
I think its because data is not loaded properly ?
Sreeram Boyapati
@sreeram-boyapati
Apr 18 2016 06:06
Does dgraph have full design doc something like https://github.com/cockroachdb/cockroach/blob/master/docs/design.md
Manish R Jain
@manishrjain
Apr 18 2016 06:06
@pawanrawal Can you share your query?
@sreeram-boyapati Not something as detailed as Cockroach guys, but this is what we have: https://discuss.dgraph.io/t/dgraph-design-doc/37
Talks about various pieces. If you find something confusing, comment there, and I can update the doc.
Pawan Rawal
@pawanrawal
Apr 18 2016 06:09
curl localhost:8080/query -XPOST -d '{
  me(_xid_: m.06pj8) {
    type.object.name.en
    film.director.film {
      type.object.name.en
      film.film.initial_release_date
      film.film.country
      film.film.starring {
        film.performance.actor {
          type.object.name.en
        }
        film.performance.character {
          type.object.name.en
        }
      }
      film.film.genre {
        type.object.name.en
      }
    }
  }
}'
Manish R Jain
@manishrjain
Apr 18 2016 06:10
The above query returns data from http://dgraph.io/query
This might be an issue with data loading -- or possibly some new bug got introduced.
Are you building from head?
Pawan Rawal
@pawanrawal
Apr 18 2016 06:12
no, so this is on the GCE instance
and I am on master branch
Manish R Jain
@manishrjain
Apr 18 2016 06:12
So, did you load the data fresh?
Pawan Rawal
@pawanrawal
Apr 18 2016 06:12
Yes
Its strange this was working earlier after data loading
but now returns only uid
Manish R Jain
@manishrjain
Apr 18 2016 06:13
I reckon you might have git pull, and then rebuilt the server. That might mean a possible new bug introduction.
To be sure, you might want to reload the data, and then run the query again.
Pawan Rawal
@pawanrawal
Apr 18 2016 06:15
Yup, will do that
Ashwin Ramesh
@ashwin95r
Apr 18 2016 07:02
I was doing the testing yesterday and the results seem to be fine @pawanrawal
Pawan Rawal
@pawanrawal
Apr 18 2016 07:03
Ya , they were fine yesterday for me too. Loading data again and checking.
Manish R Jain
@manishrjain
Apr 18 2016 07:34
http://blog.dgraph.io/ is running :-)
out of Github pages.
Pawan Rawal
@pawanrawal
Apr 18 2016 07:34
Awesome :clap:
Ashwin Ramesh
@ashwin95r
Apr 18 2016 07:34
Great! :sparkles:
Pawan Rawal
@pawanrawal
Apr 18 2016 07:55
@manishrjain I pushed my changes. Could you please have a look whenever you have some time?
I will create a card for you in Trello.
Manish R Jain
@manishrjain
Apr 18 2016 07:55
Sure. Do that.
Manish R Jain
@manishrjain
Apr 18 2016 08:39
done
Pawan Rawal
@pawanrawal
Apr 18 2016 08:40
That was quick, thanks :smile:
Prashanth Koppula
@koppula
Apr 18 2016 08:40
:+1:
We should also link to the blog from the website
Manish R Jain
@manishrjain
Apr 18 2016 08:42
Maybe add a Trello card, and assign it to Pawan.
Prashanth Koppula
@koppula
Apr 18 2016 08:45
@pawanrawal we could add a link to the blog along with the other links at the bottom
Pawan Rawal
@pawanrawal
Apr 18 2016 08:46
Sure, we should do that
Pawan Rawal
@pawanrawal
Apr 18 2016 08:52
done
Manish R Jain
@manishrjain
Apr 18 2016 09:04
Also updated the job description a bit.
Pawan Rawal
@pawanrawal
Apr 18 2016 09:05
okay
Oh, I think I missed booking a calendly slot with you for tomorrow. Can I still do that please :smile: ?
Manish R Jain
@manishrjain
Apr 18 2016 09:07
Pawan Rawal
@pawanrawal
Apr 18 2016 09:08
To discuss next steps for the client.
Manish R Jain
@manishrjain
Apr 18 2016 09:08
Let me update the thing a bit.
Pawan Rawal
@pawanrawal
Apr 18 2016 09:08
I think I can only book after a period of 24 hours, so all your slots for tomorrow are gone.
Manish R Jain
@manishrjain
Apr 18 2016 09:08
Updated it to 12 hours away
That should work now.
For 30 mins.
@koppula Can you accept the calendly invite?
Pawan Rawal
@pawanrawal
Apr 18 2016 09:11
Still shows tuesday as unavailable. Maybe they cache stuff :P
Manish R Jain
@manishrjain
Apr 18 2016 09:11
emm.. I can see it.
It's mrjn, not manishrjain, btw
Pawan Rawal
@pawanrawal
Apr 18 2016 09:11
oh
Manish R Jain
@manishrjain
Apr 18 2016 09:11
I'll remove all from there.
Pawan Rawal
@pawanrawal
Apr 18 2016 09:11
mrjn works
Manish R Jain
@manishrjain
Apr 18 2016 09:13
okay, now it should be very clear: https://calendly.com/manishrjain
Pawan Rawal
@pawanrawal
Apr 18 2016 09:14
Yes, its good now.
Prashanth Koppula
@koppula
Apr 18 2016 09:34
@manishrjain I’ve already accepted https://calendly.com/koppula
Need to play around with this a bit and figure out slots
Ashwin Hariharan
@booleanhunter
Apr 18 2016 10:17
Hey, I installed d-graph using the dockerfile today
What's the next step after running the docker image?