[ 
https://issues.apache.org/jira/browse/ASTERIXDB-1884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15975731#comment-15975731
 ] 

ASF subversion and git services commented on ASTERIXDB-1884:
------------------------------------------------------------

Commit d0baeedbd0b529cdb81d271d26c95919031dc5f1 in asterixdb's branch 
refs/heads/master from [~tillw]
[ https://git-wip-us.apache.org/repos/asf?p=asterixdb.git;h=d0baeed ]

ASTERIXDB-1884: pretty printing of explain results

Change-Id: I20a697610e2ac78b25b5a61d6d7348534330af37
Reviewed-on: https://asterix-gerrit.ics.uci.edu/1687
Sonar-Qube: Jenkins <jenk...@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenk...@fulliautomatix.ics.uci.edu>
BAD: Jenkins <jenk...@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <jenk...@fulliautomatix.ics.uci.edu>
Reviewed-by: Yingyi Bu <buyin...@gmail.com>


> 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)

Reply via email to