clintropolis commented on code in PR #17894: URL: https://github.com/apache/druid/pull/17894#discussion_r2053417758
########## docs/querying/sql.md: ########## @@ -391,6 +391,26 @@ like `100` (denoting an integer), `100.0` (denoting a floating point value), or timestamps can be written like `TIMESTAMP '2000-01-01 00:00:00'`. Literal intervals, used for time arithmetic, can be written like `INTERVAL '1' HOUR`, `INTERVAL '1 02:03' DAY TO MINUTE`, `INTERVAL '1-2' YEAR TO MONTH`, and so on. +## SET statements + +Druid SQL over HTTP supports including 0 or more `SET` statements separated by `;` preceding the statement to execute +in order to assign [SQL query context parameter values](../querying/sql-query-context.md). + +The syntax of a `SET` statement is Review Comment: fixed ########## docs/querying/sql.md: ########## @@ -391,6 +391,26 @@ like `100` (denoting an integer), `100.0` (denoting a floating point value), or timestamps can be written like `TIMESTAMP '2000-01-01 00:00:00'`. Literal intervals, used for time arithmetic, can be written like `INTERVAL '1' HOUR`, `INTERVAL '1 02:03' DAY TO MINUTE`, `INTERVAL '1-2' YEAR TO MONTH`, and so on. +## SET statements + +Druid SQL over HTTP supports including 0 or more `SET` statements separated by `;` preceding the statement to execute +in order to assign [SQL query context parameter values](../querying/sql-query-context.md). + +The syntax of a `SET` statement is + +```sql +SET identifier = literal Review Comment: fixed -- 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]
