[
https://issues.apache.org/jira/browse/DRILL-1060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14042715#comment-14042715
]
Xiao Meng commented on DRILL-1060:
----------------------------------
SQlline returns:
{code}
+------------+
| columns |
+------------+
| ["TypicalTime","09:30:12"] |
| ["ZeroTime","00:00:00"] |
| ["TypicalTimeBase24","13:59:23"] |
| ["TypicalTime","11:10:33"] |
+------------+
{code}
For C++ client, we are just aware that csv does not have column name for each
column.
So should we expect to get json like
{code}
{
"column1":"TypicalTime",
"column2":"09:30:12"
}
{code}
for the row
{code}
["TypicalTime","09:30:12"]
{code}
> Support ComplexToJson for Array Data Type
> -----------------------------------------
>
> Key: DRILL-1060
> URL: https://issues.apache.org/jira/browse/DRILL-1060
> Project: Apache Drill
> Issue Type: Bug
> Components: Client - C++
> Reporter: Xiao Meng
> Assignee: Aditya Kishore
> Attachments: Time_Table.csv
>
>
> git.commit.id.abbrev=79c1502
> When queries csv files from C++ client, the drillbit returns array (REPEATED
> VARCHAR if all elements are VARCHAR) instead of json.
> When support_complex_types is false, it should return a json string (REQUIRED
> VARCHAR).
--
This message was sent by Atlassian JIRA
(v6.2#6252)