Re: What is the best way to use Apache-drill with rails app?

2015-06-15 Thread Carol McDonald
here is an example using the REST api

https://www.mapr.com/blog/how-use-sql-hadoop-drill-rest-json-nosql-and-hbase-simple-rest-client#.VX77PvlViko


On Mon, Jun 15, 2015 at 12:11 PM, Jason Altekruse 
wrote:

> If you are not going to be reading a lot of data, in terms of final results
> (i.e. your app will consume filtered and/or aggregated results), the rest
> API should serve your purposes. For better throughput the JDBC and ODBC
> interfaces will be your best bet. Please note that the odbc driver is not a
> part of the open source project, but is currently freely available from
> MapR.There should be some kind of ODBC support available in a Gem I would
> assume. JDBC might be harder to find as it requires a Ruby to Java bridge,
> which would likely dwarf the benefits over the rest API anyways.
>
>
>
> On Sun, Jun 14, 2015 at 10:50 AM, Ted Dunning 
> wrote:
>
> >
> > What about using ODbc?
> >
> > Sent from my iPhone
> >
> > > On Jun 14, 2015, at 0:00, Hosang Jeon 
> > wrote:
> > >
> > >
> > > Hi everyone.
> > >
> > > My current application is built on top of rails framework and I want to
> > integrate some parts of the application with Apache-drill.
> > > I could see that there is no gems for that kind of integration yet.
> > > Using REST API provided by Apache-drill is the best way or something
> > else you can suggest?
> > >
> > > Thanks everyone in advance. :)
> > >
> > >
> > >
> > >
> >
>


Re: What is the best way to use Apache-drill with rails app?

2015-06-15 Thread Jason Altekruse
If you are not going to be reading a lot of data, in terms of final results
(i.e. your app will consume filtered and/or aggregated results), the rest
API should serve your purposes. For better throughput the JDBC and ODBC
interfaces will be your best bet. Please note that the odbc driver is not a
part of the open source project, but is currently freely available from
MapR.There should be some kind of ODBC support available in a Gem I would
assume. JDBC might be harder to find as it requires a Ruby to Java bridge,
which would likely dwarf the benefits over the rest API anyways.



On Sun, Jun 14, 2015 at 10:50 AM, Ted Dunning  wrote:

>
> What about using ODbc?
>
> Sent from my iPhone
>
> > On Jun 14, 2015, at 0:00, Hosang Jeon 
> wrote:
> >
> >
> > Hi everyone.
> >
> > My current application is built on top of rails framework and I want to
> integrate some parts of the application with Apache-drill.
> > I could see that there is no gems for that kind of integration yet.
> > Using REST API provided by Apache-drill is the best way or something
> else you can suggest?
> >
> > Thanks everyone in advance. :)
> >
> >
> >
> >
>


Re: What is the best way to use Apache-drill with rails app?

2015-06-14 Thread Ted Dunning

What about using ODbc?

Sent from my iPhone

> On Jun 14, 2015, at 0:00, Hosang Jeon  wrote:
> 
> 
> Hi everyone.
> 
> My current application is built on top of rails framework and I want to 
> integrate some parts of the application with Apache-drill.
> I could see that there is no gems for that kind of integration yet.
> Using REST API provided by Apache-drill is the best way or something else you 
> can suggest? 
> 
> Thanks everyone in advance. :)
> 
> 
> 
> 


What is the best way to use Apache-drill with rails app?

2015-06-14 Thread Hosang Jeon

Hi everyone.

My current application is built on top of rails framework and I want to 
integrate some parts of the application with Apache-drill.
I could see that there is no gems for that kind of integration yet.
Using REST API provided by Apache-drill is the best way or something else you 
can suggest? 

Thanks everyone in advance. :)