0: jdbc:drill:zk=local> select * from dfs.mydata.`yelp/user.json` u limit 1;
+---------------+------------+--------------+------------+------------+------------+---------------+------------+-------------+------------+------------+
| yelping_since | votes | review_count | name | user_id | fans | average_stars | type | compliments | friends | elite |
+---------------+------------+--------------+------------+------------+------------+---------------+------------+-------------+------------+------------+
| 2012-02 | {"funny":1,"useful":5,"cool":0} | 6 | Lee | qtrmBGNqCvupHMHL_bKFgQ | 0 | 3.83 | user | {} | [] | [] |
+---------------+------------+--------------+------------+------------+------------+---------------+------------+-------------+------------+------------+
1 row selected (0.063 seconds)
0: jdbc:drill:zk=local> select * from dfs.mydata.`yelp/review.json` u limit 1;
+------------+------------+------------+------------+------------+------------+------------+-------------+
| votes | user_id | review_id | stars | date | text | type | business_id |
+------------+------------+------------+------------+------------+------------+------------+-------------+
| {"funny":0,"useful":2,"cool":1} | Xqd0DzHaiyRqVH3WRG7hzg | 15SdjuK7DmYqUAj6rjGowg | 5 | 2007-05-17 | dr. goldberg offers everything i look for in a general practitioner. he's nice and easy to talk to without being patronizing; he's always on time in seeing his patients; he's affiliated with a top-notch hospital (nyu) which my parents have explained to me is very important in case something happens and you need surgery; and you can get referrals to see specialists without having to see him first. really, what more do you need? i'm sitting here trying to think of any complaints i have about him, but i'm really drawing a blank. | review | vcNAWiLM4dR7D2nwwJ7nCA |
+------------+------------+------------+------------+------------+------------+------------+-------------+
1 row selected (0.05 seconds)
0: jdbc:drill:zk=local> select * from dfs.mydata.`yelp/review.json` r, dfs.mydata.`yelp/user.json` u where r.user_id = u.user_id;
Query failed: Failure while running fragment. Schema is currently null. You must call buildSchema(SelectionVectorMode) before this container can return a schema. [f7e655d6-b25b-4e11-aad2-f0ce1a8c7ca3]
Error: exception while executing query: Failure while trying to get next result batch. (state=,code=0)
0: jdbc:drill:zk=local>