Load SQL Table / View / Stored Procedure
You can load data from a SQL instance into the warehouse. Bragi automatically infers data types, keys, and constraints.
You need to set up a connection string to be able to select the source table.
Source Configuration
This lets you set the rows to scan for data analysis and configure the schema and object.
Field | Description |
|---|---|
Rows to Scan for Data Types (default: 10,000) | This determines how many rows Bragi should look at to guess each column’s data type and size. A higher number gives better accuracy, especially for variable-length strings or mixed content. |
Schema | Database schema where the loaded table will be created. |
Object | Target table or view name that Bragi will create or load into within the selected schema. This defines the final destination for your imported data. |

Load Configuration
Here you can specify the name and schema for the new load table and configure how it should be processed.
Field | Description |
|---|---|
Schema | Schema in the warehouse for the Load. You can create one using the plus arrow. |
Table Name | Name of the Load; this will be what it is called in the warehouse. |
Display Name | A more friendly name for the Load, used in Bragi. |
Description | A description of the Load's purpose, useful for when someone else needs to edit it later. Also worth noting why it is not a normal Load. |
Truncate Table Before Load | Clears the target table before inserting new rows. The default behaviour for most loads. This ensures you're working with fresh data. |
Auto Trim Values | Removes the whitespace from both ends of any strings. |
Treat Empty Values As Null | Treats empty strings as NULL in the load table itself. This saves storage space. |
Fail on Empty Source | Fails the load when the dataset is empty. Turn this on if an empty source dataset indicates an error. |
Use High Watermarks | Configures High Watermarks. |
Only Load Distinct Data | Skips duplicate rows during the load process. Useful for avoiding repeated inserts when source files are noisy or already de-duped upstream. |
Where Clause | Limits the data coming from the source. WHERE keyword is not required. As an example you could use |

Read the best practises for naming configs for guidance on consistent and clear naming formats for configs.
High Watermarks
High Watermarks improve performance when loading extremely large tables. It selects one or more columns and every time the Load executes, the process stores the last loaded value for that column within Bragi. The next time the Load runs, it will only import rows that are above the High Watermark columns.
You can override the default behaviour by providing a SELECT statement in place of Bragi storing and handling the previously loaded value. For example, if your load has an Archive associated with it, you could write a SELECT statement to find the latest archived value.

select top 1 Id from dbo.arc_SEEKER_BondInfo