-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
0.13.1 Runtime Error when Snowflake Destination Schema contains External Table #1505
Comments
We have the same issue and will local fix it to move forward. Can we create a PR for this? |
Hey @krishbox - sure, we'd love a PR for this! Feel free to open one up and we can take it from there |
Hello @drewbanin, is there anything in the way of permissions needed for contributing. The reason I ask is because:
|
You're going to want to fork this repo into your personal github account (or your org's), then push to a branch of the repo you control. Once you do that, you should be able to open up a Pull Request across the repositories. The big idea is that GitHub doesn't give people arbitrary push access to other org's repos. You just need to push to a repo you own, then you can open up the PR. Hope this helps! |
Hi @drewbanin, thanks for your quick responses! We just PR'd the change. 🤞 |
Add ExternalTable relation type, update Snowflake adapter (issue #1505)
Fixed by #1571 |
Issue
0.13.1 Runtime Error when Snowflake Destination Schema contains External Table
Issue description
Running dbt run --model MODEL_NAME fails
Results
Runtime error is thrown:
Running with dbt=0.13.1
Found 23 models, 413 tests, 0 archives, 0 analyses, 210 macros, 9 operations, 1 seed files, 0 sources
Encountered an error:
Runtime Error
Invalid arguments passed to "SnowflakeRelation" instance: type.'EXTERNAL TABLE' is not one of ['table', 'view', 'cte', 'materializedview', None]
System information
The output of
dbt --version
:The operating system you're running on:
OS Name: Microsoft Windows 10 Pro
OS Version: 10.0.17134 N/A Build 17134
The python version you're using (probably the output of
python --version
)Python 3.7.3
Steps to reproduce
dbt run
on any model, even a model that is in a different schema of the same database.Proposed Solution
Found a similar issue for Materialized Views here: #1430
Following similar steps, added the following external table lines to response.py:
This fixes the error for local installation, but dbt cloud runs still fail.
The text was updated successfully, but these errors were encountered: