ערוך

שתף באמצעות


Tutorial: Ingest data into a Warehouse in Microsoft Fabric

Applies to: ✅ Warehouse in Microsoft Fabric

Now that you have created a Warehouse in Microsoft Fabric, you can ingest data into that warehouse.

Ingest data

  1. From the Build a warehouse landing page, select the Data Warehouse Tutorial workspace in the navigation menu to return to the workspace item list.

    Screenshot of the navigation menu, showing where to select Data Warehouse Tutorial.

  2. Select New > More options to display a full list of available items.

  3. In the Data Factory section, select Data pipeline.

  4. On the New pipeline dialog, enter Load Customer Data as the name.

    Screenshot of the New pipeline dialog box, showing where to enter the name and select Create.

  5. Select Create.

  6. Select Pipeline activity.

    Screenshot of the Pipeline activity button.

  7. Select Copy data from the Move & transform section.

    Screenshot of the Move and transform section, showing where to select Copy data.

  8. If necessary, select the newly created Copy data activity from the design canvas and follow the next steps to configure it.

  9. On the General page, for Name, enter CD Load dimension_customer.

    Screenshot of the General tab, showing where to enter the copy activity name.

  10. On the Source page, select the Connection dropdown. Select More to see all of the data sources you can choose from, including data sources in your local OneLake data hub.

  11. Select New to create a new connection.

  12. On the New connection page, select or type to select Azure Blobs from the list of connection options.

  13. Select Continue.

  14. On the Connection settings page, configure the settings as follows:

    1. In the Account name or URL, enter https://fabrictutorialdata.blob.core.windows.net/sampledata/.

    2. In the Connection credentials section, select Create new connection in the dropdown list for the Connection.

    3. The Connection name field is automatically populated, but for clarity, type in Wide World Importers Public Sample.

    4. Set the Authentication kind to Anonymous.

    Screenshot of the Connections settings screen with the Account name and Connection credentials fields filled in as directed in the previous steps.

  15. Select Connect.

  16. Change the remaining settings on the Source page of the copy activity as follows, to reach the .parquet files in https://fabrictutorialdata.blob.core.windows.net/sampledata/WideWorldImportersDW/parquet/full/dimension_customer/*.parquet:

    1. In the File path text boxes, provide:

      1. Container: sampledata

      2. File path - Directory: WideWorldImportersDW/tables

      3. File path - File name: dimension_customer.parquet

    2. In the File format drop-down, choose Parquet.

  17. Select Preview data next to the File path setting to ensure there are no errors.

    Screenshot of the Source tab, showing where to change the file path and format details, and select Preview data.

  18. Select the Destination page of the Copy data activity. For Connection, select the warehouse item WideWorldImporters from the list, or select More to search for the warehouse.

  19. Next to the Table option configuration setting, select the Auto create table radio button.

  20. The dropdown menu next to the Table configuration setting will automatically change to two text boxes.

  21. In the first box next to the Table setting, enter dbo.

  22. In the second box next to the Table setting, enter dimension_customer.

    Screenshot of the Destination tab, showing where to enter and select the details specified in the previous steps.

  23. From the ribbon, select Run.

  24. Select Save and run from the dialog box. The pipeline to load the dimension_customer table with start.

  25. Monitor the copy activity's progress on the Output page and wait for it to complete.

    Screenshot of the Output page, showing what a successful run looks like.

Next step