asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Till (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ASTERIXDB-1884) Explain does not work in the query service with pretty printing
Date Sat, 15 Apr 2017 01:28:41 GMT
Till created ASTERIXDB-1884:
-------------------------------

             Summary: Explain does not work in the query service with pretty printing
                 Key: ASTERIXDB-1884
                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1884
             Project: Apache AsterixDB
          Issue Type: Bug
          Components: AsterixDB, HTTP API
            Reporter: Till
            Assignee: Till


Running
{noformat}
curl -d statement=explain%20select%20value%201%2B1%3B -d pretty=true http://localhost:19002/query/service
{noformat}
yields
{noformat}
{
	"requestID": "363f632f-f602-4ee5-bfa4-07e71593dcad",
	"signature": "*",
	"results": [ 	"errors": [{
	"code": "1",
	"msg": "Unrecognized token 'distribute': was expecting ('true', 'false' or 'null')\n at [Source:
distribute result [%0->$$2]\n-- DISTRIBUTE_RESULT  |UNPARTITIONED|\n  exchange\n  -- ONE_TO_ONE_EXCHANGE
 |UNPARTITIONED|\n    assign [$$2] <- [AInt64: {2}]\n    -- ASSIGN  |UNPARTITIONED|\n 
    empty-tuple-source\n      -- EMPTY_TUPLE_SOURCE  |UNPARTITIONED|\n; line: 1, column: 11]"
	}],
	"status": "fatal",
	"metrics": {
		"elapsedTime": "1.314645676s",
		"executionTime": "1.233249720s",
		"resultCount": 0,
		"resultSize": 0
	}
}
{noformat}
which isn't even valid JSON as the {{results}} field is not closed.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message