You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2021/08/31 01:43:02 UTC

[GitHub] [druid] FrankChen021 commented on a change in pull request #11642: Add inline native query example to tutorial

FrankChen021 commented on a change in pull request #11642:
URL: https://github.com/apache/druid/pull/11642#discussion_r698920756



##########
File path: docs/tutorials/tutorial-query.md
##########
@@ -216,7 +216,13 @@ Retrieved 10 rows in 0.06s.
 ### Query SQL over HTTP
 
 
-You can submit queries directly to the Druid Broker over HTTP. 
+You can submit native queries [directly to the Druid Broker over HTTP](../querying/sql.md#http-post). The request body should be a JSON object, with the value for the key `query` containing text of the query:
+
+```json
+{
+  "query": "SELECT ..."

Review comment:
       I think a complete SQL, such as the SQL example in above section, is better.




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

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org