To read data from Microsoft Fabric Lakehouse, configure a Microsoft Fabric Lakehouse object as a source in a mapping or mapping in advanced mode.
The following table describes the source properties that you can configure for a Microsoft Fabric Lakehouse source:
Property
Description
Connection
Name of the source connection.
Select an existing connection, create a new connection, or define parameter values for the source connection property.
If you want to overwrite the parameter at runtime, select the Allow parameter to be overridden at run time option when you create a parameter. When the task runs, the agent uses the parameters from the file that you specify in the task advanced session properties. Ensure that the parameter file is in the correct format.
Specify the parameter file directory and name in the advanced session properties.
When you switch between a non-parameterized and a parameterized Microsoft Fabric Lakehouse connection, the advanced property values are retained.
Source Type
Type of the source object.
Select Single Object, Query, or Parameter.
Default is Single Object.
Parameter
A parameter file where you define values that you want to update without having to edit the task.
The Parameter property appears only if you select the source type as Parameter.
Select an existing parameter for the source object or click New Parameter to define a new parameter for the source object.
If you want to overwrite the parameter at runtime, select the Allow parameter to be overridden at run time option when you create a parameter. When the task runs, the agent uses the parameters from the file that you specify in the task advanced session properties. Ensure that the parameter file is in the correct format.
Object
Name of the Microsoft Fabric Lakehouse source object.
Select the source object for a single source. You can also select an existing object from the list.
Ensure that the table headers of the source object do not contain special characters.
The following table describes the query options that you can configure for a Microsoft Fabric Lakehouse source:
Property
Description
Filter
Filters record based on the filter condition in a read operation. Click Configure to add conditions to filter records from the data that the Secure Agent reads from the source.
You can specify the following filter conditions:
- Not parameterized. Uses a basic filter to specify the object, field, operator, and value to select specific records.
- Completely parameterized. Uses a parameter to represent the field mapping.
- Advanced. Uses an advanced filter to define a more complex filter condition.
Default is Not parameterized.
Sort
Not applicable.
The following table describes the advanced source properties that you can configure for a Microsoft Fabric Lakehouse source:
Property
Description
Table Name Override
Overrides the table name configured in the source object and uses the specified table name to read data at runtime.
SQL Override
The SQL statement to override the default query that is used to read data from the Microsoft Fabric Lakehouse source.
Tracing Level
Sets the amount of detail that appears in the log file.
Select one of the following options from the list:
- Terse
- Normal
- Verbose Initialization
- Verbose Data
Default is Normal.
Key range partitioning
You can configure key range partitioning when you use a mapping task to read data from Microsoft Fabric Lakehouse sources.
When you run a mapping configured with key range partitioning, the Secure Agent distributes rows of source data based on the fields that you define as partition keys. The Secure Agent compares the field value to the range values for each partition and sends rows to the appropriate partitions.
Use key range partitioning for columns that have an even distribution of data values. Otherwise, the partitions might have unequal size.
For example, a column might have 10 rows between key values 1 and 1000 and the column might have 999 rows between key values 1001 and 2000. If the mapping includes multiple sources, use the same number of key ranges for each source.
When you define key range partitioning for a column, the Secure Agent reads the rows that are within the specified partition range.
For example, if you configure two partitions for a column with the ranges as 10 through 20 and 30 through 40, the Secure Agent does not read the rows 20 through 30 because these rows are not within the specified partition range.
You can configure a partition key for fields of any numeric data type. However, you cannot use decimals in key range values.
Key range partitions are not available in the following scenarios:
•When you create a mapping in advanced mode.
•When the mapping includes any of the following transformations:
- Web Services
- XML to Relational
•When you use custom queries and SQL overrides in the mapping.
Configuring key range partitioning
Perform the following steps to configure key range partitioning for Microsoft Fabric Lakehouse sources:
1In the Source properties, click the Partitions tab.
2Select the required partition key from the list.
3Click Add New Key Range to define the number of partitions and the key ranges based on which the Secure Agent must partition data.
Use a blank value for the start range to indicate the minimum value. Use a blank value for the end range to indicate the maximum value.