[ 
https://issues.apache.org/jira/browse/DRILL-7603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17045723#comment-17045723
 ] 

ASF GitHub Bot commented on DRILL-7603:
---------------------------------------

dobesv commented on issue #1996: DRILL-7603: Allow default schema to be set for 
HTTP queries
URL: https://github.com/apache/drill/pull/1996#issuecomment-591540321
 
 
   @paul-rogers Thanks for finding that!  Unfortunately, I think the stack 
trace must be incomplete.
   
   
![image](https://user-images.githubusercontent.com/327833/75369511-72966480-5878-11ea-9f10-508607696e5e.png)
   
   I don't see how that line would throw NPE.  The NPE must be coming from 
within the `run` method somewhere.
 
----------------------------------------------------------------
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]


> Cannot set default schema using REST API / Web UI
> -------------------------------------------------
>
>                 Key: DRILL-7603
>                 URL: https://issues.apache.org/jira/browse/DRILL-7603
>             Project: Apache Drill
>          Issue Type: Improvement
>          Components: Web Server
>            Reporter: Dobes Vandermeer
>            Assignee: Dobes Vandermeer
>            Priority: Minor
>
> Currently, to set the default schema you must run the `USE <schema>` command. 
>  However, the Web UI and REST API do not keep a session open so the `USE` 
> command does not affect the next query sent to the API.
> To support a default schema for REST API & Web UI I propose a parameter to 
> the API "defaultSchema" which sets the default schema for that query.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to