You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Till Westmann (Jira)" <ji...@apache.org> on 2022/02/17 01:58:00 UTC

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

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

Till Westmann updated ASTERIXDB-2496:
-------------------------------------
    Fix Version/s: 0.9.8
                       (was: 0.9.7)

> 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 Westmann
>            Priority: Major
>             Fix For: 0.9.8
>
>
> 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
(v8.20.1#820001)