You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Michael J. Carey (JIRA)" <ji...@apache.org> on 2018/12/12 05:07:00 UTC

[jira] [Created] (ASTERIXDB-2496) Error response to an overly large object is very misleading

Michael J. Carey created ASTERIXDB-2496:
-------------------------------------------

             Summary: Error response to an overly large object is very misleading
                 Key: ASTERIXDB-2496
                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2496
             Project: Apache AsterixDB
          Issue Type: Bug
          Components: *DB - AsterixDB, FAIL - Failure handling/reporting, HYR - Hyracks
    Affects Versions: 0.9.4
            Reporter: Michael J. Carey
            Assignee: Till
             Fix For: 0.9.5


If you try to LOAD a JSON object that exceeds the system's limit, it complains as follows:

ASX3021: Malformed input stream [HyracksDataException]

This is not very helpful to users - I spent awhile today with one such user.  He had been given a "data set" in the form of a JSON dump file from Firebase, and it contained exactly one HUGE JSON document.  That object was about 90MB, but it was not malformed - it was perfectly good JSON that was parsable by Javascript's JSON parser, so the user was puzzled.

In this case the system should have reported that the size was the problem, e.g., "Incoming object exceeded system size limit".



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)