vtlim commented on code in PR #18027: URL: https://github.com/apache/druid/pull/18027#discussion_r2112581296
########## docs/api-reference/sql-api.md: ########## @@ -195,6 +200,20 @@ Content-Length: 192 </TabItem> </Tabs> +You can also specify query-level context parameters directly within the SQL query string using the `SET` command. For more details on `SET` statements, see [SET statements](../querying/sql.md#set-statements). + +The following functionally equivalent JSON object uses `SET` command for `sqlQueryId` directly in the query: Review Comment: ```suggestion The following request body is functionally equivalent to the previous example and uses SET instead of the `context` parameter: ``` -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
