This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This project uses MotherDuck in cloud, and DuckDB locally. | |
To check data in DuckDB with a query, use this in the terminal: `duckdb <dbname> -c <query>` | |
To check data in DuckDB with a sql file, use this in the terminal: `duckdb <dbname> -f <query>` | |
MotherDuck documentation is here: https://motherduck.com/docs | |
LLM friendly documentation for MotherDuck is here: https://motherduck.com/docs/llms/motherduck.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: pr_to_master | |
on: | |
pull_request: | |
branches: | |
- master | |
env: | |
DBT_PROFILES_DIR: ./ | |
MSSQL_USER: ${{ secrets.MSSQL_USER }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# exec with `python3 load2azure.py` | |
import os | |
import argparse | |
import logging | |
from azure.storage.blob import BlobServiceClient, BlobClient | |
from dotenv import load_dotenv | |
# load env variables | |
load_dotenv() |