I am following the "Getting Started" guide. I could initialize drill in
embedded mode and execute a query on the sample employee.json, which
returned what was expected.

I then tried querying a more complex JSON with more nested data, by using
sales_transactions.json:

0: jdbc:drill:zk=local> select customer_transactions[0].product_name from
cp.`sales_transactions.json`;
Error: DATA_READ ERROR: You tried to write a BigInt type when you are using
a ValueWriter of type NullableFloat8WriterImpl.

File  /sales_transactions.json
Record  129
Line  129
Column  728
Field  store_sales
Fragment 0:0

[Error Id: 15b6c541-d35e-421b-b307-32d32cc4ce6c on
debian.localdomain.local:31010] (state=,code=0)

Could you please let me know what I am doing wrong?

Using the lastest drill 1.0

Patrick.

Reply via email to