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:50:27 UTC
[jira] [Created] (ASTERIXDB-1149) ADM and JSON dataset loaders
should accept data with or without outer [ ]
Chris Hillery created ASTERIXDB-1149:
----------------------------------------
Summary: 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: 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)