Daniel Barclay (Drill) created DRILL-3511:
---------------------------------------------

             Summary: Dev.-level message (or bug?): "You tried to write a Bit 
... ValueWriter ... NullableFloat8WriterImpl.
                 Key: DRILL-3511
                 URL: https://issues.apache.org/jira/browse/DRILL-3511
             Project: Apache Drill
          Issue Type: Bug
          Components: Storage - JSON
            Reporter: Daniel Barclay (Drill)
            Assignee: Steven Phillips


For a JSON file containing this:

{noformat}
{"x":[{"y":-1.1,"y":false}]}
{noformat}

a basic query yields an error message describing the problem in terms of 
Drill's implementation rather than in terms of the JSON data:

{noformat}
0: jdbc:drill:zk=local> SELECT * FROM `dfs`.`/tmp/xxx.json`;
Error: DATA_READ ERROR: You tried to write a Bit type when you are using a 
ValueWriter of type NullableFloat8WriterImpl.

File  /tmp/2924/data1x/a.json
Record  1
Line  1
Column  24
Field  
Fragment 0:0

[Error Id: abe134c1-0a2c-4ce4-9f7d-1b68aad819fc on dev-linux2:31010] 
(state=,code=0)
0: jdbc:drill:zk=local> 
{noformat}






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

Reply via email to