Prestodb – Presto API options other than JDBC

In addition to JDBC, there are all other options for getting data from hive to the user interface through the Presto query engine

UI  <--> Presto <--> Hive

Solution

The best interface for UI programming is Presto rest interface On Facebook, we use this rest interface directly in PHP, Python and R, from graphical dashboards to statistical analysis We are developing formal documentation for rest interfaces, but the best documentation is here:

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

By the way, the current jdbc driver is just a thin wrapper for Presto rest interface, which is actually just a prototype We are working hard to improve the driver of FB's internal project, so it is expected to get better in the coming months

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>