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

Issue with Docs Blocks in Exposures #187

Closed
ZahidGalea opened this issue Aug 30, 2022 · 1 comment · Fixed by #189
Closed

Issue with Docs Blocks in Exposures #187

ZahidGalea opened this issue Aug 30, 2022 · 1 comment · Fixed by #189

Comments

@ZahidGalea
Copy link

Hi team.

Just started using the new support for Bigquery (v1.2.0), and I'm having an issue in the exposure description when using Docs Blocks, by some reason Bigquery is trowing the following error:

dbt.exceptions.DatabaseException: Database Error Syntax error: Unclosed string literal at [18:21]

If I comment the description, the rest works fine. we just tested Docs blocks in exposures as it is what we use for now.

image

charles-astrafy added a commit to charles-astrafy/dbt_artifacts that referenced this issue Aug 31, 2022
Add support for dbt doc blocks in exposures description. This adds the capability to support multi-line strings.

Add test for doc blocks in exposures.
@charles-astrafy
Copy link
Contributor

@ZahidGalea : I have just made a pull request to fix this

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 a pull request may close this issue.

2 participants