drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Altekruse (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-3421) Add new outputformat=json
Date Tue, 30 Jun 2015 00:30:05 GMT

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

Jason Altekruse commented on DRILL-3421:

I don't know if this is something we want to encourage users to do. We have CREATE TABLE AS,
which can be configured to output JSON (by setting `store.format` = 'json'). It is not efficient
to use the terminal output to produce any volume of output, especially if you want to save
it to a file. There are additional complications that we truncate long values when they are
displayed on the command line, which would cause this output to look incorrect. Is there a
particular version why users would need to produce this kind of output from sqlline?

> Add new outputformat=json
> -------------------------
>                 Key: DRILL-3421
>                 URL: https://issues.apache.org/jira/browse/DRILL-3421
>             Project: Apache Drill
>          Issue Type: Improvement
>          Components: Client - CLI
>    Affects Versions: 1.0.0
>            Reporter: Jim Scott
>            Assignee: Daniel Barclay (Drill)
> ouputformat=vertical is nearly a json output format. Adding a json format option here,
where the field names are quoted etc.. would make it dead simple to generate json output from
query results. 

This message was sent by Atlassian JIRA

View raw message