ccaominh commented on a change in pull request #6974: sql support for dynamic
parameters
URL: https://github.com/apache/incubator-druid/pull/6974#discussion_r309802667
##########
File path: docs/content/querying/sql.md
##########
@@ -439,6 +442,17 @@ of configuration.
You can make Druid SQL queries using JSON over HTTP by posting to the endpoint
`/druid/v2/sql/`. The request should
be a JSON object with a "query" field, like `{"query" : "SELECT COUNT(*) FROM
data_source WHERE foo = 'bar'"}`.
+##### Request
+
+|Property|Type|Description|Required|
+|--------|----|-----------|--------|
+|`query`|`String`| SQL query to run|yes|
+|`resultFormat`|`String` (`ResultFormat`)| Result format for output | no
(default `"object"`)|
+|`header`|`Boolean`| Write column name header for supporting formats| no
(default `false`)|
+|`context`|`Object`| Connection context map. see [connection context
parameters](#connection-context)| no |
+|`parameters`|`SqlParameter` list| List of query parameters for parameterized
queries. |
Review comment:
This row is missing a value for the "Required" column.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]