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

use correct escaper for insert queries #117

Closed
wants to merge 2 commits into from
Closed

Conversation

s-ducks
Copy link

@s-ducks s-ducks commented Jul 27, 2022

fixes #109

Couldn't find any contribution guide, or tests to add to - please point out if wrong, we have another contribution (bit bigger than this one) we'd like to make

Copy link

@owenprough-sift owenprough-sift left a comment

Choose a reason for hiding this comment

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

I tested this in my project and it works. Thank you so much for fixing, this!

Testing Notes

I created a seed file with these contents:

"long_form","contraction_form"
"do not","don't"
"can not","can't"
  • dbt seed successfully loaded the data into Athena
  • dbt build successfully loaded the data into Athena

owenprough-sift added a commit to owenprough-sift/dbt-athena that referenced this pull request Nov 10, 2022
nicor88 added a commit to dbt-labs/dbt-athena that referenced this pull request Nov 10, 2022
nicor88 added a commit to dbt-labs/dbt-athena that referenced this pull request Nov 15, 2022
* [BUGFIX] Add support for partition fields of type timestamp (#6)

* fix glue partition handling (#2)

* Add support for partition fields of type timestamp

Co-authored-by: nicor88 <[email protected]>
Co-authored-by: yusuf.mahtab <[email protected]>

* add changelog and prepare version bump

* Get model owner from manifest (#9)

* Get model owner from manifest

* refactor into private function

Co-authored-by: Justas Cernas <[email protected]>

Co-authored-by: Justas Cernas <[email protected]>

* chore: fix flake8 linting (#10)

* Use correct escaper for `INSERT` queries (#18)

Copy/paste from: Tomme/dbt-athena#117

Co-authored-by: nicor88 <[email protected]>

* fix: share same boto session between every calls (#16)

Co-authored-by: nicor88 <[email protected]>

* Update CHANGELOG.md

Co-authored-by: Daniel Messias <[email protected]>
Co-authored-by: yusuf.mahtab <[email protected]>
Co-authored-by: Justas Cernas <[email protected]>
Co-authored-by: Jérémy Guiselin <[email protected]>
Co-authored-by: Owen <[email protected]>
nicor88 added a commit to dbt-labs/dbt-athena that referenced this pull request Nov 16, 2022
* [BUGFIX] Add support for partition fields of type timestamp (#6)

* fix glue partition handling (#2)

* Add support for partition fields of type timestamp

Co-authored-by: nicor88 <[email protected]>
Co-authored-by: yusuf.mahtab <[email protected]>

* add changelog and prepare version bump

* Get model owner from manifest (#9)

* Get model owner from manifest

* refactor into private function

Co-authored-by: Justas Cernas <[email protected]>

Co-authored-by: Justas Cernas <[email protected]>

* chore: fix flake8 linting (#10)

* Use correct escaper for `INSERT` queries (#18)

Copy/paste from: Tomme/dbt-athena#117

Co-authored-by: nicor88 <[email protected]>

* fix: share same boto session between every calls (#16)

Co-authored-by: nicor88 <[email protected]>

* Update CHANGELOG.md

Co-authored-by: Daniel Messias <[email protected]>
Co-authored-by: yusuf.mahtab <[email protected]>
Co-authored-by: Justas Cernas <[email protected]>
Co-authored-by: Jérémy Guiselin <[email protected]>
Co-authored-by: Owen <[email protected]>
@s-ducks
Copy link
Author

s-ducks commented Dec 6, 2022

Merged to dbt-athena/dbt-athena, closing :)

@s-ducks s-ducks closed this Dec 6, 2022
nicor88 added a commit to Avinash-1394/dbt-athena that referenced this pull request Jan 22, 2023
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: nicor88 <[email protected]>
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.

Seeds don't work with single quote
2 participants