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-1149) ADM and JSON dataset loaders should accept data with or without outer [ ]

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

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

> ADM and JSON dataset loaders should accept data with or without outer [ ]
> -------------------------------------------------------------------------
>
>                 Key: ASTERIXDB-1149
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1149
>             Project: Apache AsterixDB
>          Issue Type: Improvement
>          Components: AsterixDB, Data Formats
>            Reporter: Chris Hillery
>            Assignee: Chris Hillery
>            Priority: Critical
>
> Loading a dataset from an .adm file requires that the file contain only top-level records. If the file has an outer wrapping array [], it cannot be loaded.
> This is problematic because []-wrapped ADM is the way the HTTP API produces ADM results. That will also be fixed (see ASTERIXDB-1148) but we should still allow the flexibility at the parsing level. 
> The same should also probably be true for loading from a .json file, although there it's a bit more questionable IMHO since a sequence of top-level JSON objects is not a valid JSON text.



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