You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Hanifi Gunes (JIRA)" <ji...@apache.org> on 2015/01/30 02:03:48 UTC

[jira] [Commented] (DRILL-1657) Null schema error

    [ https://issues.apache.org/jira/browse/DRILL-1657?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14297999#comment-14297999 ] 

Hanifi Gunes commented on DRILL-1657:
-------------------------------------

Can you point me to yelp `user` data set that you are using here? I don't get to find it online.

> Null schema error
> -----------------
>
>                 Key: DRILL-1657
>                 URL: https://issues.apache.org/jira/browse/DRILL-1657
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Execution - Operators
>            Reporter: Tomer Shiran
>            Assignee: Hanifi Gunes
>             Fix For: 0.9.0
>
>
> {code}
> 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> 
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)