drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Altekruse (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DRILL-1204) Problem selecting the following json format (a mongodb export)
Date Mon, 17 Nov 2014 21:18:34 GMT

     [ https://issues.apache.org/jira/browse/DRILL-1204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jason Altekruse updated DRILL-1204:
-----------------------------------
    Assignee:     (was: Jason Altekruse)

> 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: Bug
>            Reporter: Winston Chen
>             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)

Mime
View raw message