Databricks supports managed and unmanaged tables. Unmanaged tables are also called external tables. This tutorial demonstrates five different ways to create tables in Databricks. It covers:
👉 What's the difference between managed and external tables?
👉 How to mount S3 bucket to Databricks and read CSV to spark dataframe?
👉 How to create a database in Databricks?
👉 How to create a managed table from a spark datafram using pySpark?
👉 How to create a managed table from an existing table using SQL?
👉 How to create a managed table from a spark datafram using SQL?
👉 How to create an unmanaged table from a spark datafram using pySpark?
👉 How to create an unmanaged table from a spark datafram using SQL?
👉 How to delete managed and external tables?
⏰ Timecodes ⏰
0:00 - Intro
1:03 - Step 1: Managed vs. Unmanaged Tables
1:42 - Step 2: Mount S3 Bucket And Read CSV To Spark Dataframe
3:34 - Step 3: Create Database In Databricks
4:36 - Step 4: Create Managed Table From Spark Dataframe Using pySpark (Method 1)
6:05 - Step 5: Create Managed Table From Existing Table Using SQL (Method 2)
6:27 - Step 6: Create Managed Table From Spark Dataframe Using SQL (Method 3)
7:16 - Step 7: Create Unmanaged Table From Spark Dataframe Using pySpark (Method 4)
7:41 - Step 8: Create Unmanaged Table From Spark Dataframe Using SQL (Method 5)
8:35 - Step 9: Delete Managed And Unmanaged Tables
9:31 - Summary
❤️ Blog post with code for this video
/ five-ways-to-create-tables-in-databricks
📒 Databricks notebook: https://mailchi.mp/6eae2852e215/woazj...
🚛 GrabNGoInfo Machine Learning Tutorials Inventory: / grabngoinfo-machine-learning-tutorials-inv...
🏪 Purchase data science and computer science themed products in my Amazon store: https://amzn.to/40HUTsl
✅ Join Medium Membership: If you are not a Medium member and would like to support me to keep creating free content (😄 Buy me a cup of coffee ☕), join Medium membership through this link: / membership
You will get full access to posts on Medium for $5 per month, and I will receive a portion of it. Thank you for your support!
🧱Databricks Tutorial Playlist
• Databricks Mount To AWS S3 And Import...
🔥 Check out more machine learning tutorials on my website!
https://grabngoinfo.com/tutorials/
📣 Speech software used in the video: Descript https://www.descript.com/?lmref=h7XYQw
📧 CONTACT me at [email protected]
👩🏻💻 Follow me on LinkedIn: / grabngoinfo
#databricks #machinelearning #datascience #grabngoinfo