You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Xikui Wang (JIRA)" <ji...@apache.org> on 2017/08/19 22:18:00 UTC

[jira] [Created] (ASTERIXDB-2048) Malformed error query result when ResultPrinter fails in printPrefix

Xikui Wang created ASTERIXDB-2048:
-------------------------------------

             Summary: Malformed error query result when ResultPrinter fails in printPrefix 
                 Key: ASTERIXDB-2048
                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2048
             Project: Apache AsterixDB
          Issue Type: Bug
            Reporter: Xikui Wang
            Priority: Minor


When the result printer fails in printPrefix, the query result can't be displayed properly, as the "result-content" part is output to session output already. One example would be executing this query with CSV with header format*:

use dataverse TinySocial;
for $i in dataset ChirpUsers return $i;

*The current master will print JSON for CSV with header. The fix is pending.

The solution could be assemble a String within the method and append to session output all at once....



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)