-
Notifications
You must be signed in to change notification settings - Fork 2
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
[Bug] Bigquery fails on stg_qualtrics__distribution_contact #3
Comments
Hey there! So looking at the error message, i think this is related to the length of this doc description and the fact that you're persisting the docs. According to these BigQuery docs I think the most appropriate fix here would be to shorten the field's description to just be the link to the distribution status's Qualtrics API docs instead of listing them all out. we'd be happy to prioritize reviewing a PR if you're open to creating one, otherwise i'd advise setting models:
+persist_docs:
relation: true
columns: true
qualtrics_source:
stg_qualtrics__distribution_contact:
+persist_docs:
relation: true
columns: false |
Hi @davejroth I was able to reproduce the error on my end, and was also able to resolve it by making the changes @fivetran-jamie suggested previously. It would be helpful if you could verify this works for your case, so I have created a test branch that should enable you to run the package normally, without having to add passthrough vars or disabling persist_docs. To install it, use the below snipped in your packages.yml in place of the current qualtrics lines. packages:
- git: https://github.com/fivetran/dbt_qualtrics.git
revision: bug/persist-docs
warn-unpinned: false If you are able to test it out, please let me know how it works. Thanks! |
Thank you! I'm out of the office until Monday but will test next week and
let you know.
…On Tue, Jan 2, 2024 at 2:49 PM fivetran-catfritz ***@***.***> wrote:
Hi @davejroth <https://github.com/davejroth> I was able to reproduce the
error on my end, and was also able to resolve it by making the changes
@fivetran-jamie <https://github.com/fivetran-jamie> suggested previously.
It would be helpful if you could verify this works for your case, so I have
created a test branch that should enable you to run the package normally,
without having to add passthrough vars or disabling persist_docs.
To install it, use the below snipped in your packages.yml in place of the
current qualtrics lines.
packages:
- git: https://github.com/fivetran/dbt_qualtrics.git
revision: bug/persist-docs
warn-unpinned: false
If you are able to test it out, please let me know how it works. Thanks!
—
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABSP5I2DUPTBANMAJA3MGBDYMSFHJAVCNFSM6AAAAABBADKEDKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZUGY2TMOJVGU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi @davejroth thanks! I actually am going to go ahead and release this since I will be out of the office next week, but if it is not working for you after I release it, please let us know in this issue! |
Is there an existing issue for this?
Describe the issue
dbt throws an error when building stg_qualtrics__distribution_contact. I believe the issue is that the model contains a column named
status
which is a reserved keyword in bigquery. I was able to successfully build the model by replacing line 38 withstatus as response_status
.Relevant error log or model output
Expected behavior
the model should materialize without an error
dbt Project configurations
I tried aliasing the column using the instructions provided in the git repo but it is not working:
Package versions
packages:
version: 1.1.1
version: 0.8.5
version: [">=0.1.0", "<0.2.0"]
What database are you using dbt with?
bigquery
dbt Version
dbt=1.7.2
Additional Context
I think the resolution is to rename the column status -> response_status
Are you willing to open a PR to help address this issue?
The text was updated successfully, but these errors were encountered: