Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.9.0
-
None
Description
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)