You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@drill.apache.org by John Omernik <jo...@omernik.com> on 2016/04/11 15:02:19 UTC

Creating an Interpreter - %alias

So I copied the %jdbc interpreter. I am looking to create a specific
connection to Apache Drill, and would like to use the jdbc interpreter, but
invoke it by calling %drill rather than %jdbc, is this possible? I tried
create interpreter and did a new name "drill" with interpreter type jdbc,
but I just got a new interpreter drill that could be invoked by %jdbc (This
seemed backwards to me) Is it possible to do what I am trying to do?

Thanks!

John

Re: Creating an Interpreter - %alias

Posted by Neeraja Rentachintala <nr...@maprtech.com>.
John
Cool. Please share back your findings on this list.

On Mon, Apr 11, 2016 at 11:25 AM, John Omernik <jo...@omernik.com> wrote:

> LOL Sorry folks, yes, I meant this for the Apache Zeppelin list. Thanks
> Magnus for the response, I will also send over to the Zeppelin list.
>
>
> On Mon, Apr 11, 2016 at 8:15 AM, Magnus Pierre <mp...@maprtech.com>
> wrote:
>
> > Hello John,
> > I assume you are talking about Zeppelin -> Drill? I’ve think I’ve seen it
> > done. Let me check with the person I believe did what you ask for and ask
> > how he did it. I think it is somewhat convenient to have one and the same
> > ”tag” for all statements that goes against jdbc and just switch between
> > source jdbc using config but I am sure there’s cases where this is not
> the
> > case.
> >
> >
> > Regards,
> > Magnus
> >
> >
> >
> >
> > > 11 apr 2016 kl. 15:02 skrev John Omernik <jo...@omernik.com>:
> > >
> > > So I copied the %jdbc interpreter. I am looking to create a specific
> > > connection to Apache Drill, and would like to use the jdbc interpreter,
> > but
> > > invoke it by calling %drill rather than %jdbc, is this possible? I
> tried
> > > create interpreter and did a new name "drill" with interpreter type
> jdbc,
> > > but I just got a new interpreter drill that could be invoked by %jdbc
> > (This
> > > seemed backwards to me) Is it possible to do what I am trying to do?
> > >
> > > Thanks!
> > >
> > > John
> >
> >
>

Re: Creating an Interpreter - %alias

Posted by John Omernik <jo...@omernik.com>.
LOL Sorry folks, yes, I meant this for the Apache Zeppelin list. Thanks
Magnus for the response, I will also send over to the Zeppelin list.


On Mon, Apr 11, 2016 at 8:15 AM, Magnus Pierre <mp...@maprtech.com> wrote:

> Hello John,
> I assume you are talking about Zeppelin -> Drill? I’ve think I’ve seen it
> done. Let me check with the person I believe did what you ask for and ask
> how he did it. I think it is somewhat convenient to have one and the same
> ”tag” for all statements that goes against jdbc and just switch between
> source jdbc using config but I am sure there’s cases where this is not the
> case.
>
>
> Regards,
> Magnus
>
>
>
>
> > 11 apr 2016 kl. 15:02 skrev John Omernik <jo...@omernik.com>:
> >
> > So I copied the %jdbc interpreter. I am looking to create a specific
> > connection to Apache Drill, and would like to use the jdbc interpreter,
> but
> > invoke it by calling %drill rather than %jdbc, is this possible? I tried
> > create interpreter and did a new name "drill" with interpreter type jdbc,
> > but I just got a new interpreter drill that could be invoked by %jdbc
> (This
> > seemed backwards to me) Is it possible to do what I am trying to do?
> >
> > Thanks!
> >
> > John
>
>

Re: Creating an Interpreter - %alias

Posted by Magnus Pierre <mp...@maprtech.com>.
Hello John,
I assume you are talking about Zeppelin -> Drill? I’ve think I’ve seen it done. Let me check with the person I believe did what you ask for and ask how he did it. I think it is somewhat convenient to have one and the same ”tag” for all statements that goes against jdbc and just switch between source jdbc using config but I am sure there’s cases where this is not the case.


Regards,
Magnus




> 11 apr 2016 kl. 15:02 skrev John Omernik <jo...@omernik.com>:
> 
> So I copied the %jdbc interpreter. I am looking to create a specific
> connection to Apache Drill, and would like to use the jdbc interpreter, but
> invoke it by calling %drill rather than %jdbc, is this possible? I tried
> create interpreter and did a new name "drill" with interpreter type jdbc,
> but I just got a new interpreter drill that could be invoked by %jdbc (This
> seemed backwards to me) Is it possible to do what I am trying to do?
> 
> Thanks!
> 
> John