You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "chandan prakash (JIRA)" <ji...@apache.org> on 2015/10/27 10:33:27 UTC

[jira] [Commented] (DRILL-1954) Update CSV Writer to treat a single RepeatedVarChar column as separate columns on output rather than Erroring

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

chandan prakash commented on DRILL-1954:
----------------------------------------

Any update on the solution or is there any workaround?
....i have a similar use case where i want to execute query something like : 
alter session set `store.format`='csv';
CREATE TABLE dfs.csvlogs.`jobId` AS   SELECT * FROM dfs.parquetlogs.`parquetlogs` ;

> Update CSV Writer to treat a single RepeatedVarChar column as separate columns on output rather than Erroring
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: DRILL-1954
>                 URL: https://issues.apache.org/jira/browse/DRILL-1954
>             Project: Apache Drill
>          Issue Type: Improvement
>          Components: Storage - Text & CSV
>    Affects Versions: 0.6.0, 0.7.0
>            Reporter: Cary Greenwood
>             Fix For: Future
>
>
> I am experiencing this error when attempting to create a table.  When the same query is executed using SELECT * the results display fine.
> 0: jdbc:drill:zk=local> CREATE TABLE fcc_cell AS select * from dfs.`/Users/Documents/fcc/fcc_lic_vw.csv` WHERE columns[10] IN ('"Mobile/Fixed Broadband"', '"Fixed Wireless"') AND columns[17] = '"A"';
> Query failed: Query stopped., Repeated types are not supported. [ cd76d8fd-b00e-47d5-962c-6566381b17fb on 192.168.1.4:31010 ]
> Error: exception while executing query: Failure while executing query. (state=,code=0)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)