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

fix: Escape single quotes in invocation_args #355

Merged

Conversation

adamantike
Copy link
Contributor

Overview

Related to #316, this change fixes another occurrence, this time for invocations.invocation_args. As DBT variables can contain single quotes, they must be escaped.

Update type - breaking / non-breaking

  • Minor bug fix
  • Documentation improvements
  • Quality of Life improvements
  • New features (non-breaking change)
  • New features (breaking change)
  • Other (non-breaking change)
  • Other (breaking change)

What does this solve?

Another scenario for #316.

What databases have you tested with?

  • Snowflake
  • Google BigQuery
  • Databricks
  • Spark
  • N/A

Related to brooklyn-data#316, this change fixes another occurrence, this time for
`invocations.invocation_args`. As DBT variables can contain single
quotes, they must be escaped.
@adamantike adamantike temporarily deployed to Approve Integration Tests June 9, 2023 21:06 — with GitHub Actions Inactive
@adamantike adamantike temporarily deployed to Approve Integration Tests June 9, 2023 21:06 — with GitHub Actions Inactive
@adamantike adamantike temporarily deployed to Approve Integration Tests June 9, 2023 21:06 — with GitHub Actions Inactive
@adamantike adamantike temporarily deployed to Approve Integration Tests June 15, 2023 12:25 — with GitHub Actions Inactive
@adamantike adamantike temporarily deployed to Approve Integration Tests June 15, 2023 12:25 — with GitHub Actions Inactive
@adamantike adamantike temporarily deployed to Approve Integration Tests June 15, 2023 12:25 — with GitHub Actions Inactive
@adamantike adamantike temporarily deployed to Approve Integration Tests June 15, 2023 12:25 — with GitHub Actions Inactive
@adamantike adamantike temporarily deployed to Approve Integration Tests June 15, 2023 12:25 — with GitHub Actions Inactive
@adamantike adamantike temporarily deployed to Approve Integration Tests June 15, 2023 12:25 — with GitHub Actions Inactive
Copy link
Contributor

@glsdown glsdown left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for picking this up and fixing the issue. Pending successful run of the checks, I'll merge it.

@glsdown glsdown merged commit 247615d into brooklyn-data:main Jun 15, 2023
@adamantike adamantike deleted the fix/single-quotes-in-invocation-args branch June 15, 2023 16:44
@adamantike
Copy link
Contributor Author

@glsdown, thanks for merging it! Looking forward for a patch release to be available, so we can move back to this module.

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