careuns
04/25/2023, 2:24 PMjacob_matson
04/25/2023, 6:31 PMjacob_matson
04/25/2023, 6:31 PMcareuns
04/26/2023, 11:00 AMjacob_matson
04/26/2023, 2:30 PMvisch
04/26/2023, 2:57 PM- name: dbt
namespace: dbt-sqlserver
pip_url: dbt-sqlserver==1.3.1
commands:
clean:
args: clean
description: Delete all folders in the clean-targets list (usually the dbt_modules
and target directories.)
compile:
args: compile --models $DBT_MODELS
description: Generates executable SQL from source model, test, and analysis
files. Compiled SQL files are written to the target/ directory.
deps:
args: deps
description: Pull the most recent version of the dependencies listed in packages.yml
run:
args: run --models $DBT_MODELS
description: Compile SQL and execute against the current target database.
seed:
args: seed
description: Load data from csv files into your data warehouse.
snapshot:
args: snapshot
description: Execute snapshots defined in your project.
test:
args: test
description: Runs tests on data in deployed models.
docs generate:
args: docs generate
description: Generate docs
docs serve:
args: docs serve
description: Serve docs
create_db: run-operation autoidm_create_db
config:
target: postgres
host: localhost
port: 5432
user: postgres
dbname: postgres
project_dir: $MELTANO_PROJECT_ROOT/transform
PROFILES_DIR: $MELTANO_PROJECT_ROOT/transform/profile
source_schema: $MELTANO_LOAD__TARGET_SCHEMA
target_schema: autoidm
settings:
- name: password
kind: passwordsacha_smart
08/29/2023, 10:37 PMDatabase Error
connection to server at "<ip address>", port 1433 failed: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
----
This is what I’ve got so far (heavily influence by your post above):
- name: dbt
namespace: dbt-sqlserver
pip_url: dbt-sqlserver==1.3.1 dbt-postgres~=1.3.0
settings:
- name: password
kind: password
commands:
clean:
args: clean
description: Delete all folders in the clean-targets list (usually the dbt_modules
and target directories.)
compile:
args: compile --models $DBT_MODELS
description: Generates executable SQL from source model, test, and analysis
files. Compiled SQL files are written to the target/ directory.
deps:
args: deps
description: Pull the most recent version of the dependencies listed in packages.yml
run:
args: run
description: Compile SQL and execute against the current target database.
seed:
args: seed
description: Load data from csv files into your data warehouse.
snapshot:
args: snapshot
description: Execute snapshots defined in your project.
test:
args: test
description: Runs tests on data in deployed models.
docs-generate:
args: docs generate
description: Generate docs
docs-serve:
args: docs serve
description: Serve docs
config:
target: postgres
host: <ip address>
port: 1433
user: <user>
dbname: <db>
project_dir: $MELTANO_PROJECT_ROOT/transform
PROFILES_DIR: $MELTANO_PROJECT_ROOT/transform/profile
source_schema: $MELTANO_LOAD__TARGET_SCHEMA
target_schema: dbo
driver: ODBC Driver 18 for SQL Server
Any direction or advice would be greatly appreciatedvisch
08/29/2023, 11:33 PM