Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Presto API options other than JDBC

Tags:

presto

What are all the other options I have to get data to user interface from Hive through Presto query engine other than JDBC

UI  <--> Presto <--> Hive
like image 866
user2020099 Avatar asked Dec 12 '25 09:12

user2020099


1 Answers

The best interface for UI programming is the Presto REST interface. At Facebook we use this REST interface directly in PHP, Python and R for everything from graphical dashboards to statistical analysis. We are working on formal documentation for the REST interface, but for now the best documentation is here:

https://gist.github.com/electrum/7710544

BTW, the current JDBC driver is just a thin wrapper around the Presto REST interface and is really just a prototype. We are working on improving the driver for an internal project at FB, so expect it to become much better over the next few months.

like image 79
Dain Sundstrom Avatar answered Dec 16 '25 21:12

Dain Sundstrom



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!