Skip to content

SubmitCode/sqlmesh-exploration

Repository files navigation

SQLMesh Exploration

This project explores options for working with SQLMesh and Fabric.

About

SQLMesh is a data transformation framework that brings software engineering best practices to data teams. This repository serves as an exploration space to understand its capabilities and integration options.

Project Structure

  • config.yaml - SQLMesh configuration
  • external_models.yaml - External model definitions
  • models/ - SQL model definitions
  • macros/ - Reusable SQL macros
  • seeds/ - Static data files
  • tests/ - Data quality tests
  • audits/ - Audit configurations

Getting Started

  1. Create a .env file in the project root with the following variables:

    target=<your_target_warehouse_host>
    source=<your_source_warehouse_host>
    workspace=<your_workspace_id>
    tenant_id=<your_tenant_id>
    user=<your_service_principal_user>
    password=<your_service_principal_password>

    These variables are referenced in config.yaml for connecting to Microsoft Fabric warehouses.

  2. Create a virtual environment:

    python -m venv .venv
    source .venv/bin/activate
  3. Install dependencies:

    pip install -r requirements.txt

Resources

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •