diff --git a/presto-docs/src/main/sphinx/rest/query.rst b/presto-docs/src/main/sphinx/rest/query.rst index 66888013b4f4c..c3140d6dae79c 100644 --- a/presto-docs/src/main/sphinx/rest/query.rst +++ b/presto-docs/src/main/sphinx/rest/query.rst @@ -3,9 +3,9 @@ Query Resource ============== The Query REST service is the most complex of the rest services. It -contains detailed information about nodes, and other -details that capture the state and history of a query being executed -on a Presto installation. +contains detailed information about nodes, and other details that +capture the state and history of a query being executed on a Presto +installation. .. function:: GET /v1/query @@ -69,6 +69,6 @@ on a Presto installation. "outputDataSize" : "32B", "outputPositions" : 1 }, - "outputStage" : ... + "outputStage" : { } } diff --git a/presto-docs/src/main/sphinx/rest/task.rst b/presto-docs/src/main/sphinx/rest/task.rst index 75b61516ab2c7..9625e3112f735 100644 --- a/presto-docs/src/main/sphinx/rest/task.rst +++ b/presto-docs/src/main/sphinx/rest/task.rst @@ -24,7 +24,7 @@ execution of queries on a Presto installation. **Example response**: - .. sourcecode:: http + .. sourcecode:: json [ { "taskId" : "20131222_183944_00011_dk5x2.1.0", @@ -89,7 +89,7 @@ execution of queries on a Presto installation. **Example response**: - .. sourcecode:: http + .. sourcecode:: json { "taskId" : "20140115_170528_00004_dk5x2.0.0",