dobesv opened a new pull request #1996: DRILL-7603 Allow default schema to be 
set for HTTP queries
URL: https://github.com/apache/drill/pull/1996
 
 
   # [DRILL-7603](https://issues.apache.org/jira/browse/DRILL-7603): Allow 
default schema to be set for HTTP queries
   
   ## Description
   
   This allows REST API requests and Web UI requests to specify a default
   schema.  Otherwise this is not possible for HTTP clients because the
   "USE" command requires a session, which HTTP clients do not have.
   
   ## Documentation
   
   ### POST /query.json
   
   Submit a query and return results.
   
   **Parameters**
   
   * `queryType`--SQL, PHYSICAL, or LOGICAL are valid types. Use only "SQL". 
Other types are for internal use only.  
   * `query`--A SQL query that runs in Drill.  
   * `autoLimit`--Limits the number of rows returned from the result set. 
(Drill 1.16+)
   * `defaultSchema`--Specify the default schema for the request, as if the 
`USE` command was run before the query
   
   ## Testing
   (Please describe how this PR has been tested.)

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

Reply via email to