You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Chris Hillery (JIRA)" <ji...@apache.org> on 2015/10/22 08:54:27 UTC

[jira] [Updated] (ASTERIXDB-1148) Allow ADM/JSON results from HTTP to be array-wrapped or not

     [ https://issues.apache.org/jira/browse/ASTERIXDB-1148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Hillery updated ASTERIXDB-1148:
-------------------------------------
    Component/s: AsterixDB

> Allow ADM/JSON results from HTTP to be array-wrapped or not
> -----------------------------------------------------------
>
>                 Key: ASTERIXDB-1148
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1148
>             Project: Apache AsterixDB
>          Issue Type: Improvement
>          Components: AsterixDB, HTTP API
>            Reporter: Chris Hillery
>            Assignee: Chris Hillery
>            Priority: Critical
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> When making JSON the default for HTTP API calls, I enforced an outer [ ] around the results to ensure it was valid JSON. This is also the case now even if producing ADM results.
> This is sometimes not desirable. In particular, because our ADM (and JSON?) data loaders do not accept data in this format, AsterixDB is not easily round-trippable.
> Suggestion: add an HTTP parameter to select whether the output should be wrapped. This would default to "true" for JSON but "false" for ADM.



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