anna
04/27/2023, 9:28 AMuser
04/27/2023, 10:06 AMHenning Holgersen
04/27/2023, 10:52 AMphornkrit_hirunyanitiwatana
04/27/2023, 11:28 AMHenning Holgersen
04/27/2023, 11:29 AMphornkrit_hirunyanitiwatana
04/27/2023, 11:31 AMphornkrit_hirunyanitiwatana
04/27/2023, 11:31 AMuser
04/27/2023, 11:32 AMHenning Holgersen
04/27/2023, 11:37 AManna
04/27/2023, 11:44 AMuser
04/27/2023, 11:52 AManna
04/27/2023, 12:01 PMjacob_matson
04/27/2023, 11:48 PMjacob_matson
04/27/2023, 11:49 PManna
04/28/2023, 6:01 AManna
04/28/2023, 8:06 PMafter_run_sql
configurations, so then I have to implement the hooks myself using a transformer, right?
I tried installing dbt-sqlserver, but I cannot for my life get it to work on my MS SQL db instance. I’ve tried installing it through meltano but since it’s not one of the official transformers it is very unclear to me how I’m supposed to install it, and it keeps giving me very little error messages.
Here is part of my meltano.yml file with the transformer.
transformers:
- name: dbt-sqlserver
namespace: dbt-sqlserver
executable: dbt
pip_url: dbt-sqlserver==1.3.1
commands:
run:
args: run --models +staging.*
config:
server: localhost
port: '1433'
database: master
schema: dbo
user: user
password: password
driver: ODBC Driver 18 for SQL Server
#project_dir: /Users/anna/git/my-tap/transform # Does not work, must set with flag? Relative path does not work?
#profiles_dir: /Users/anna/git/my-tap/transform/profile # Does not work, must set with flag?
I should have the necessary drivers for the MS SQL db.
I’ve tried to install this through meltano install
but when that didn’t work I also tried to install through pip in a local venv. This didn’t seem right so I backtracked? However now I’m stuck at this error:
(venv) anna@Annas-Mac ~/git/my-tap (main) % meltano invoke dbt-sqlserver:run +staging --profiles-dir /Users/anna/git/my-tap/transform/profile --project-dir /Users/anna/git/my-tap/transform
Need help fixing this problem? Visit <http://melta.no/> for troubleshooting steps, or to
join our friendly Slack community.
__init__() got an unexpected keyword argument 'request_timeout'
So likely I’ve not installed this correctly….
Am I even right in trying to install this dbt-sqlserver? I feel like I’m digging deeper and deeper and not sure if I’m even supposed to be digging here. 😟 😖
Thanks for any help! I really appreciate it 🙌Henning Holgersen
04/28/2023, 8:39 PMjacob_matson
04/28/2023, 9:53 PMjacob_matson
04/28/2023, 9:54 PMjacob_matson
04/28/2023, 9:54 PMjacob_matson
04/28/2023, 10:00 PM