Ability to set/change default schema for all sessions.

2018-08-11 Thread dsaivarunvishal reddy
USE schema; would change the default schema for the current session, it would be useful if we can have ability to change the default schema to look into through out all sessions.

Re: Ability to set/change default schema for all sessions.

2018-08-11 Thread Abhishek Girish
Not entirely sure of what you are asking for, but here is a suggestion - when you connect through sqlline, you have the ability to set the session schema as follows [1]: $DRILL_HOME/bin/sqlline -u "jdbc:drill:zk=localhost:2181;schema=dfs.tmp" -n user1 This was, each new sqlline session you start