cgivre commented on a change in pull request #2270: URL: https://github.com/apache/drill/pull/2270#discussion_r693521600
########## File path: contrib/storage-http/README.md ########## @@ -45,6 +45,30 @@ The `connection` property can accept the following options. `url`: The base URL which Drill will query. +##### Parameters in the URL +Many APIs require parameters to be passed directly in the URL instead of as query arguments. For example, github's API allows you to query an organization's repositories with the following +URL: https://github.com/orgs/{org}/repos + +As of Drill 1.20.0, you can simply set the URL in the connection using the curly braces. If your API includes URL parameters you MUST +include them in the `WHERE` clause in your query, or Drill will throw an error. 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]
