asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Hillery (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ASTERIXDB-1149) ADM and JSON dataset loaders should accept data with or without outer [ ]
Date Thu, 22 Oct 2015 06:50:27 GMT
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)

Mime
View raw message