Skip to content
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

Update impl.py to use POSIX standard on location #919

Merged
merged 3 commits into from
Jan 29, 2025

Conversation

gsolasab
Copy link
Contributor

@gsolasab gsolasab commented Jan 28, 2025

Description

Executing dbt locally in a Windows machine is including front slash when using os.path.join function for separating different elements of the location and so generating issues when creating the tables.
Using posix join it will always use back slash to separate the elements of the location and so work in any operating system.

Checklist

  • I have run this code in development and it appears to resolve the stated issue
  • This PR includes tests, or tests are not required/relevant for this PR
  • I have updated the CHANGELOG.md and added information about my change to the "dbt-databricks next" section.

@benc-db
Copy link
Collaborator

benc-db commented Jan 28, 2025

Makes sense, just validating against the E2E tests.

@benc-db benc-db merged commit ebadd92 into databricks:main Jan 29, 2025
1 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants