Learn how to set up a connection to a Hive from Presto.
- [Instructor] Now let's take a look…at Connecting to Hive.…Here I have my terminal window which is already…logged into my Presto VM on my Mac.…What I want to do is just take a look…at the connection properties that are built in.…For that, I type vi and the connection properties…are stored in my user folder under .prestoadmin/catalog,…and if I just tab a couple of times here you'll see…I have a couple properties already built.…I have the Hive, tpcds, and tpch.…
I'll take a look at the Hive properties.…All this is is a config file that points Presto…at where Hive lives.…In this VM, this is already setup for me,…but if you were setting this up on your own machine…and you were pointing it to a different Hive cluster,…you would simply need to update these parameters here…with the correct ones for your cluster,…where your Hive cluster actually lives.…That's what's going on with this.…I just need to hit Escape and then :q to exit out of that.…Let's take a look at the Hive environment,…and then we'll go into Presto and preview it from there.…
Data science expert Ben Sullins helps you get up to speed with Presto, and leverage it to accomplish a wide-range of data science and analytics tasks. He uses different interfaces with Presto—such as R and Tableau—and digs into the expressive SQL language that Presto offers for your analysis. At the end of this course, you'll know the key concepts of Presto and how to use them to take full advantage of your modern big data system.
- What does Presto do?
- Running Presto
- Connecting from Tableau and R
- Connecting to Hive, MySQL, and the local system
- Retrieving data
- Combining data sources
- Basic SQL functions
- Advanced SQL functions
- Migrating from Hive
Skill Level Intermediate
SQL: Data Reporting and Analysiswith Emma Saunders2h 16m Intermediate
Advanced SQL for Data Scientistswith Dan Sullivan1h 24m Advanced
1. Introducing Presto
2. Running Presto
4. SQL Syntax
5. Basic SQL functions
6. Advanced SQL Functions
7. Migrating from Hive
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.