[ https://issues.apache.org/jira/browse/DRILL-1303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hanifi Gunes updated DRILL-1303: -------------------------------- Attachment: small.json mobile-small.json small.json prints out records partially. mobile-small.json raises prints out partially and throws an AssertionError. > C client throws AssertionError on complex types > ----------------------------------------------- > > Key: DRILL-1303 > URL: https://issues.apache.org/jira/browse/DRILL-1303 > Project: Apache Drill > Issue Type: Bug > Components: Client - C++ > Reporter: Hanifi Gunes > Assignee: Parth Chandra > Attachments: mobile-small.json, small.json > > > Running: > {code} > ./querySubmitter query="select * from > dfs.`/Users/hgunes/workspaces/mapr/incubator-drill/data/mobile-small.json`;" > connectStr="local=localhost:31010" type="sql" api="sync" > {code} > Prints out records partially as follows: > {panel} > ROW: 32 { > "cust_id" : 40, > "device" : "AOS4.2", > "state" : "nj" > } { > "camp_id" : 8, > "keywords" : [ "justice", "it's", "got", "i'll", "the", "in", "dad" ] > } { > "prod_id" : [ 172, 127, 1, 430, 17, 238 ], > "purch_flag" : "false" > } > ROW: 33 { > "cust_id" : 4, > "device" : "IOS5", > "state" : "or" > } { > "camp_id" : 9, > "keywords" : [ ] > } { > "prod_id" : [ 104, 65, 242, 11, 17, 23, 294, 187, 296, 208, 8 ], > "purch_flag" : "false" > } > {panel} > And stops raising an AssertionError > {panel} > Assertion failed: ((index + sizeof(T) <= this->m_length)), function readAt, > file > /Users/hgunes/workspaces/mapr/incubator-drill/contrib/native/client/src/clientlib/../include/drill/recordBatch.hpp, > line 128. > ROW: 34 fish: Job 1, './querySubmitter query="select * from > dfs.`/Users/hgunes/workspaces/mapr/incubator-drill/data/mobile-small.json`;" > connectStr="local=localhost:31010" type="sql" api="sync"' terminated by > signal SIGABRT (Abort) > {panel} -- This message was sent by Atlassian JIRA (v6.2#6252)