Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Azure icon
Labs

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.

Azure icon
Labs

Path Info

Level
Clock icon Intermediate
Duration
Clock icon 45m
Published
Clock icon Nov 09, 2023

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Set Up the Environment

    1. Create an Azure Synapse Analytics instance by defining a new Azure Data Lake Gen2 account.
    2. Create a container named taxidata in the data lake account.
  2. Challenge

    Set Up Dedicated SQL Pool Instance

    Within Synapse workspace, create a dedicated SQL pool instance named TaxiRidesWarehouse, with the performance level of DW100c.

  3. Challenge

    Define PolyBase Components to Read Data Lake File

    1. Use Synapse's integrated UI to generate a script creating an external table on file TaxiRides.parquet.

    2. 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

  4. Challenge

    Create Table in Dedicated SQL Pool Using CTAS

    1. 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.
    2. Run a query on the TaxiRides table and verify the data load.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

What's a lab?

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.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.

Start learning by doing today

View Plans