You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Jinfeng Ni (JIRA)" <ji...@apache.org> on 2015/07/02 22:34:04 UTC
[jira] [Updated] (DRILL-3042) where fails on fields converted to
JSON
[ https://issues.apache.org/jira/browse/DRILL-3042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jinfeng Ni updated DRILL-3042:
------------------------------
Fix Version/s: (was: 1.2.0)
1.4.0
> where fails on fields converted to JSON
> ---------------------------------------
>
> Key: DRILL-3042
> URL: https://issues.apache.org/jira/browse/DRILL-3042
> Project: Apache Drill
> Issue Type: Bug
> Components: Query Planning & Optimization
> Affects Versions: 0.9.0
> Reporter: Will Ochandarena
> Assignee: Jinfeng Ni
> Fix For: 1.4.0
>
> Attachments: WHEREfail.json
>
>
> See attached sample log from Google App Engine. When I create a view of that data that extracts an inner field and converts it to JSON -
> --
> create or replace view alltypes as select t3.line.status as status from (select convert_from(line,'JSON') as line from (select t1.tp.logMessage as line from(select flatten(t.protoPayload.line) as tp from dfs.`/Users/wochandarena/Downloads/WHEREfail.json` t) as t1 where t1.tp.logMessage LIKE '{%') as t2) as t3;
> --
> Then query the view with a where clause, the error below is seen.
> --
> 0: jdbc:drill:zk=local> select * from alltypes;
> +------------+
> | status |
> +------------+
> | Status |
> +------------+
> 1 row selected (0.345 seconds)
> 0: jdbc:drill:zk=local> select * from alltypes where status=Status;
> Query failed: SYSTEM ERROR: Unexpected exception during fragment initialization: null
> [a1790b40-0055-4793-984f-b37ce72cb92f on 172.30.1.6:31010]
> Error: exception while executing query: Failure while executing query. (state=,code=0)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)