Oracle Fusion BI Publisher Data Models to Synapse Dedicated SQL Pool: Steps to Plug-n-Play BI Connector's Synapse Pipeline Template

Modified on Mon, 10 Aug at 9:49 AM

COMMENT: Need help navigating the support articles? Go to Get Started

 

COMMENT: Data Models to Synapse Dedicated SQL Pool (Synapse). Continues from Steps 1-3 of 8000130494. Step 4 = dataset config (SQL Pool db name, outside the template); Step 5 = mappings; Steps 6-8 = trigger/run/publish. NOTE: screenshot stored procedure references OTBI Reports / [dbo].[UPDATE_LOOKUP_STATUS_OTBI_REPORT] though this is labelled Data Models - confirm. Insert screenshots at [SCREENSHOT] markers.

 

Before you start

 

This path — covers pipelining BI Publisher Data Models to a Synapse Dedicated SQL Pool. It continues from Step 3 of the Azure Synapse pipeline guide, then covers the dataset setup, the field mappings, and running the pipeline.

 

Steps 4 to 8 — Configure, map, and run

Step 4 — Select the Dedicated SQL Pool database in the dataset

This is done on a Dataset, not a pipeline activity, so it is configured outside the pipeline template.

 

→ From the left panel, go to Data.
→ Under Linked, expand Integration Datasets.
→ Click SYNAPSE_DEDICATED_SQL_POOL_TABLES.
→ On the Connection tab, set SQL Pool — select your Dedicated SQL Pool database name.

COMMENT: [SCREENSHOT 1: Synapse Data hub: Linked > Integration Datasets > SYNAPSE_DEDICATED_SQL_POOL_TABLES, Connection tab, SQL Pool dropdown]

 

Step 5 — Map the pipeline fields (Data Models to Synapse Dedicated SQL Pool)

Refer the screenshot of a sample Plug-n-play Pipeline template for quick navigational reference:

BI Connector's Pipeline Template for Fusion

Tip — Haven't received a Plug-n-Play Pipeline Template file like above from the BI Connector Team yet? Contact BI Connector

Complete the mappings row by row by referring to the table below.

 

For each row, start from the cell in the left. Complete the steps in that left-most cell, and move on to the steps on the cells in the right. After the steps in a row is completed fully, start from the left cell in the next row.

 

Finish the steps in all the rows.

COMMENT: [SCREENSHOT 2: Synapse pipeline canvas with LOOP_THROUGH_MAPPINGS ForEach, Activities Edit box, and the sub-activities]

 

Pipeline activity (and sub-activities nav)Activity tabMappings
→ Click LOOP_THROUGH_MAPPINGS in the top pane
→ Click Edit in the Activities box
→ Double-click POST_PROCESSING_FULL_LOAD
→ Click the Settings tab at the bottom paneMap the following in the bottom pane:
SQL Pool — select the Dedicated SQL Pool database name
Stored Procedure Name — Click Refresh next to the dropdown and select the stored procedure you created before (default [dbo].[UPDATE_LOOKUP_STATUS])
→ If Enter manually is checked, uncheck it to select from the dropdown instead
→ Double-click POST_PROCESSING_DELTA_DATA in the top pane→ Click the Settings tab at the bottom paneMap the following in the bottom pane:
SQL Pool — select the Dedicated SQL Pool database name
Stored Procedure Name — Click Refresh next to the dropdown and select the stored procedure you created before (default [dbo].[UPDATE_LOOKUP_STATUS])
→ If Enter manually is checked, uncheck it to select from the dropdown instead
→ Double-click GET_ALL_DATA_FROM_FUSION in the top pane→ Click the Settings tab at the bottom paneUnder Enable staging:
Storage Path (Optional) — This field is optional. If you do not provide a path, the service creates a container automatically to store temporary data. Specify a path only if you use Storage with a shared access signature, or you require temporary data in a specific location
→ Double-click GET_DELTA_DATA in the top pane→ Click the Settings tab at the bottom paneUnder Enable staging:
Storage Path (Optional) — This field is optional. If you do not provide a path, the service creates a container automatically to store temporary data. Specify a path only if you use Storage with a shared access signature, or you require temporary data in a specific location

 

Step 6 — Set up a trigger for automated runs

Click Add trigger at the top and set up the refresh schedule for automated pipeline runs.

 

Step 7 — Run the pipeline

Trigger the first pipeline run by clicking the Run option at the top. Enter the Lookup table name and Destination schema name on the prompted parameter values. After the run completes, you can verify if the pipeline executed successfully by checking the tables loaded on to the destination schema. The next run would automatically kick-in based on the schedule you set in Step 6.

 

How the pipeline works: The first run performs a full load of all tables. Subsequent runs perform incremental refresh based on the configuration in each row of the Lookup table. The pipeline also automatically creates the destination tables and their column definitions if they do not already exist in the schema. It handles idempotency (updating existing rows based on the Primary Key defined in the Lookup table), identifies and adds new rows, and includes built-in error handling and retry mechanisms.

 

Tip — Need to pipeline additional tables later? Add the new rows to the Lookup table in BI Connector and update the Lookup table in your destination platform. The pipeline will automatically pick up and process the new rows in its next scheduled run.

 

Step 8 — Publish the changes

Click Publish all at the top left. Once the validation passes, click Publish to complete.