Skip to main content

Connection config

The Columns section lists the columns that belong to the table in the model. Each entry specifies the source column name and its data type, which is crucial for defining how data is stored and manipulated within the model.

Connection

NameDescription
ConnectionNameUnique name for the connection. This name is also used in the objects that refer to this. The folder and filename of the yaml should be equalto this name
ConnectionPrefixPrefix that will be used for every object that is generated for this connection (unless otherwise set in the main configuration file)
ConnectionType**Type of connection. See list of types. For example azblob for Azure Blobstorage
BronzeFolderThe folder that will be used to save the source files. Those will be save in the bronze lakehouse in the Files section.
FileTypeType of file for this connection. Parquet, CSV, JSON, XML and more
FileExtensionExtension of the file

** = can be set at the object as well

Filetype specific settings

** CSV **

NameDescription
DelimiterThe delimiter used in the CSV. For example: , or ; and so on
MultilineSet to True if the source file uses multiline
EscapeThe escape character that is used
HeaderIs the header provided
DateformatThe dateformat that is used in the source file. For example yyyy-MM-dd. This dateformat will be used to convert to the datetime in resulting delta table in bronze

** JSON **

NameDescription
JsonPathThe root path where to start processing the json. If the items are in an array called rows, supply here: $.rows

** XML **

NameDescription
No extra optionsXML is processed by element names

** Parquet **

NameDescription
No extra optionsParquet is read and matched on columnnames

Connectiontype specific settings

azblob

NameDescription
KeyvaultSecretConnectionstringIn case of azblob, the connectionstring is retrieved from the keyvault.
ContainerContainer on azure blob to connect to
FolderFolder in the container to look for files

fabricfile

Set to Fabricfiles when files are delivered to fabric directly by a third-party or custom program. In this case the loader will just look into the defined fabric folder in the Files section and process the file accordingly.

NameDescription
BronzeFolderPlace where the files that should be loaded are dropped by the other party

The folder is defined in the object config itself. It will look in the defined bronzefolder for the SourceTable or SourceFilter.

Basic: Example of connection with a csv on azure blob storage

    ConnectionName: exa-azblob
ConnectionPrefix: exa
ConnectionType: azblob
BronzeFolder: Example
KeyvaultSecretConnectionstring: kvexample
Container: Example001
Sourcefolder: ExaFolder
FileType: csv
FileExtension: csv
Delimiter: ","
Multiline: True
Escape: '"'
Header: true

This example defines a connection to a azure blobstorage, for the authentication to the blob storage, the connectionstring from the keyvault will be used. The settings for the csv are also set here. Those settings will be used when an object is loaded into the bronze layer of fabric.

Basic: Example of connection with a parquet file that is already on Fabric

    ConnectionName: exa-fabricfiles
ConnectionPrefix: fbf
ConnectionType: fabricfiles
BronzeFolder: Example
FileType: parquet
FileExtension: parquet

This example defines a connection to the Fabric Bronze layer. In this case it will look for files in the Files section in the folder Example.