You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Deepak Barr (JIRA)" <ji...@apache.org> on 2015/11/02 14:05:27 UTC

[jira] [Commented] (LENS-855) Column headers are always comma-separated in the output file

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

Deepak Barr commented on LENS-855:
----------------------------------

One way to solve this -  
Parse lens.query.result.output.dir.format property to identify the delimiter and apply the same on column headers.

Thoughts ?

> Column headers are always comma-separated in the output file
> ------------------------------------------------------------
>
>                 Key: LENS-855
>                 URL: https://issues.apache.org/jira/browse/LENS-855
>             Project: Apache Lens
>          Issue Type: Bug
>            Reporter: Deepak Barr
>            Assignee: Deepak Barr
>
> An example scenario -
> If
> lens.query.output.write.header = true
> and
> lens.query.result.output.dir.format = ROW FORMAT DELIMITED FIELDS TERMINATED BY '\t'
> then, the final output file (after resultset formatting) contains headers in comma-separated format and result rows in tab-separated format.



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