drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mehant Baid (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-1303) C client throws AssertionError on complex types
Date Thu, 16 Oct 2014 17:21:33 GMT

    [ https://issues.apache.org/jira/browse/DRILL-1303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14173982#comment-14173982
] 

Mehant Baid commented on DRILL-1303:
------------------------------------

+1

> 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
>             Fix For: 0.6.0
>
>         Attachments: DRILL-1303.patch.diff, mobile-small.json, small.json
>
>
> Running:
> {code}
> ./querySubmitter query="select * from dfs.`/path/to/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.3.4#6332)

Mime
View raw message