[
https://issues.apache.org/jira/browse/ASTERIXDB-1149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Till Westmann updated ASTERIXDB-1149:
-------------------------------------
Priority: Major (was: Critical)
> 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
>
> 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)