drill-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abhishek Girish <abhishek.gir...@gmail.com>
Subject Re: Default workspace and plug in
Date Fri, 28 Aug 2015 22:08:33 GMT
If you are using sqlline to connect to Drill, you could also include the
workspace in the launch script.

Example:

bin/sqlline -u jdbc:drill:schema="dfs.tmp";zk=<IP address>:5181
(distributed mode)

bin/sqlline -u jdbc:drill:schema="dfs.tmp";zk=local (embedded mode)

-Abhishek

On Fri, Aug 28, 2015 at 2:43 PM, Jacques Nadeau <jacques@dremio.com> wrote:

> use dfs.myworkspace;
>
> or similar should work for you
>
> --
> Jacques Nadeau
> CTO and Co-Founder, Dremio
>
> On Fri, Aug 28, 2015 at 2:38 PM, Edmon Begoli <ebegoli@gmail.com> wrote:
>
> > Is it possible to set the default workspace and format, so when I am
> > running queries in drill
> > I can just say:
> >
> > select columns[1], ..n from `<file>`;
> >
> > or if there is a sub-dir:
> >
> > select columns[1], ..n from `\<subdir>\<file>`;
> >
> > without having to specify workspace?
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message