[ https://issues.apache.org/jira/browse/DRILL-1204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacques Nadeau updated DRILL-1204: ---------------------------------- Issue Type: Improvement (was: Bug) > Problem selecting the following json format (a mongodb export) > -------------------------------------------------------------- > > Key: DRILL-1204 > URL: https://issues.apache.org/jira/browse/DRILL-1204 > Project: Apache Drill > Issue Type: Improvement > Reporter: Winston Chen > Assignee: Jason Altekruse > Fix For: Future > > > The following exception occurs: > Producer Thread" java.lang.IllegalArgumentException: You tried to write a > BigInt type when you are using a ValueWriter of type NullableFloat8WriterImpl. > at > org.apache.drill.exec.vector.complex.impl.AbstractFieldWriter.fail(AbstractFieldWriter.java:509) > at > org.apache.drill.exec.vector.complex.impl.AbstractFieldWriter.write(AbstractFieldWriter.java:141) > at > org.apache.drill.exec.vector.complex.impl.NullableFloat8WriterImpl.write(NullableFloat8WriterImpl.java:83) > at > org.apache.drill.exec.vector.complex.fn.JsonReader.writeData(JsonReader.java:129) > at > org.apache.drill.exec.vector.complex.fn.JsonReader.writeData(JsonReader.java:162) > at > org.apache.drill.exec.vector.complex.fn.JsonReader.writeData(JsonReader.java:97) > at > org.apache.drill.exec.vector.complex.fn.JsonReader.write(JsonReader.java:65) > at > org.apache.drill.exec.vector.complex.fn.JsonReaderWithState.write(JsonReaderWithState.java:52) > at > org.apache.drill.exec.store.easy.json.JSONRecordReader2.next(JSONRecordReader2.java:82) > at > org.apache.drill.exec.physical.impl.ScanBatch.next(ScanBatch.java:138) > at > org.apache.drill.exec.physical.impl.producer.ProducerConsumerBatch$Producer.run(ProducerConsumerBatch.java:122) > when selecting the follow row of json file: > {"ssv2" : [ { "rsco" : 0.583885768553 }, { "rsco" : 0 } ]} > However, this works fine: > {"ssv2" : [ { "rsco" : 0.583885768553 } ]} -- This message was sent by Atlassian JIRA (v6.3.4#6332)