- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud

Using PolyBase to Load Data to a Dedicated SQL Pool Table
PolyBase allows you to read/write data in external storage using T-SQL. Using it, you can load the data into a dedicated SQL pool table in parallel. In this lab, we'll create various PolyBase components to load the data from a data lake file to a table in the dedicated SQL pool.

Lab Info
Table of Contents
-
Challenge
Set Up the Environment
- Create an Azure Synapse Analytics instance by defining a new Azure Data Lake Gen2 account.
- Create a container named taxidata in the data lake account.
-
Challenge
Set Up Dedicated SQL Pool Instance
Within Synapse workspace, create a dedicated SQL pool instance named TaxiRidesWarehouse, with the performance level of DW100c.
-
Challenge
Define PolyBase Components to Read Data Lake File
-
Use Synapse's integrated UI to generate a script creating an external table on file
TaxiRides.parquet
. -
Run the script to create the external table and read data from it.
Note: For this objective, make sure you have downloaded the
TaxiRides.parquet
file that is located in this GitHub repository
-
-
Challenge
Create Table in Dedicated SQL Pool Using CTAS
- Use the CTAS (CREATE TABLE AS SELECT) command to create a new table named TaxiRides and load data to it using the external table. The command is available in the Additional Information and Resources section.
- Run a query on the TaxiRides table and verify the data load.
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.