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

Bug/fix issue with single quotes in env vars #299

Merged
merged 7 commits into from
May 12, 2023

Conversation

glsdown
Copy link
Contributor

@glsdown glsdown commented Apr 28, 2023

Overview

When environment variables contain a single quote, the SQL produced is invalid as they were not being escaped properly. I have added additional tests into the integration test to include variables with a single quote in them.

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?

Outstanding questions

  • Untested with systems other than Snowflake - how can we update the env variables used in the integration testing environments?

What databases have you tested with?

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

@glsdown glsdown added the bug Something isn't working label Apr 28, 2023
@glsdown glsdown had a problem deploying to Approve Integration Tests April 28, 2023 13:19 — with GitHub Actions Failure
@glsdown glsdown had a problem deploying to Approve Integration Tests April 28, 2023 13:19 — with GitHub Actions Failure
@glsdown glsdown had a problem deploying to Approve Integration Tests April 28, 2023 13:19 — with GitHub Actions Failure
@glsdown glsdown temporarily deployed to Approve Integration Tests April 28, 2023 13:19 — with GitHub Actions Inactive
@glsdown glsdown had a problem deploying to Approve Integration Tests April 28, 2023 14:28 — with GitHub Actions Failure
@glsdown glsdown had a problem deploying to Approve Integration Tests April 28, 2023 14:28 — with GitHub Actions Failure
@glsdown glsdown temporarily deployed to Approve Integration Tests April 28, 2023 14:28 — with GitHub Actions Inactive
@glsdown glsdown had a problem deploying to Approve Integration Tests April 28, 2023 14:28 — with GitHub Actions Failure
@smitsrr
Copy link
Contributor

smitsrr commented May 1, 2023

I've been looking to upgrade to 2.2.2 for this feature, so a bug in it is blocking for me to upgrade. Do you have an ETA on merging and adding this to a new release?

@glsdown glsdown had a problem deploying to Approve Integration Tests May 12, 2023 11:47 — with GitHub Actions Error
@glsdown glsdown had a problem deploying to Approve Integration Tests May 12, 2023 11:47 — with GitHub Actions Error
@glsdown glsdown had a problem deploying to Approve Integration Tests May 12, 2023 11:47 — with GitHub Actions Error
@glsdown glsdown had a problem deploying to Approve Integration Tests May 12, 2023 11:47 — with GitHub Actions Error
@glsdown glsdown temporarily deployed to Approve Integration Tests May 12, 2023 11:47 — with GitHub Actions Inactive
@glsdown glsdown temporarily deployed to Approve Integration Tests May 12, 2023 11:47 — with GitHub Actions Inactive
@glsdown glsdown temporarily deployed to Approve Integration Tests May 12, 2023 11:47 — with GitHub Actions Inactive
@glsdown glsdown temporarily deployed to Approve Integration Tests May 12, 2023 11:47 — with GitHub Actions Inactive
@glsdown glsdown merged commit 919d4cd into main May 12, 2023
@glsdown glsdown deleted the bug/fix-issue-with-single-quotes-in-env-vars branch May 12, 2023 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
3 participants