-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dbt-core version update #28
Comments
@alexjbush-mas Have you successfully connected to Lakehouse Spark on this version? |
@WillemLiang I have managed to connect successfully, however I have other issues (1. transient timeouts against the Livy API during model build - roughly 5ish fail to build out 15 - and the retry and timeout settings don't seem to work, 2. each dbt command spins up a new Livy session with about 3ish mins startup time - session reuse between dbt commands would be nice). I don't see any SSL issue - are you behind a corporate proxy? You might need add the CA for your proxy into the CA bundle: https://requests.readthedocs.io/en/latest/user/advanced/#ssl-cert-verification |
@alexjbush-mas Thanks for sharing! I created a new virtual environment to test the connection of the old version and found that the problem still exists. After checking the local network environment, I found that it was caused by zero-trust software. Once I closed Zscaler, the connection was successful. mkdir dbt-fabricspark && cd dbt-fabricspark
# create a venv for this project
python -m venv --prompt dbt-fabricspark .dbt-fabricspark
# if you're using anaconda
conda deactivate
# activate python venv
source .dbt-fabricspark/bin/activate
# update pip
pip install --upgrade pip
# clone this adapter, do not just `pip install https://github.com/microsoft/dbt-fabricspark/archive/refs/tags/v1.7.0rc1.zip`
git clone https://github.com/microsoft/dbt-fabricspark.git
# get your Python version, for me is python3.12
PYTHON=$(ls .dbt-fabricspark/lib/)
# manually add this package
cp -R ./dbt-fabricspark/dbt/adapters/fabricspark .dbt-fabricspark/lib/${PYTHON}/site-packages/dbt/adapters/fabricspark
cp -R ./dbt-fabricspark/dbt/include/fabricspark .dbt-fabricspark/lib/${PYTHON}/site-packages/dbt/include/fabricspark
# no use anymore, clean up
rm -rf dbt-fabricspark modify Python code as below:
|
The version of dbt-core used by the project is fairly old (
dbt-core~=1.7.0rc1
) and dbt-core 1.8 has been available since May. Could you update the dependencies and release a new version of this adapter?The text was updated successfully, but these errors were encountered: