-
Notifications
You must be signed in to change notification settings - Fork 60
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
Update redshift-connector requirement from 2.0.913 to 2.0.915 #601
Update redshift-connector requirement from 2.0.913 to 2.0.915 #601
Conversation
Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Soksamnang Lim.
|
Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Soksamnang Lim.
|
converted this PR to a draft, as I still need to conduct manual testing, would love your recommendations for smoke tests! |
All of the integration tests failed or raised an error with an exception similar to the following: Click me
Have you tried running this locally? |
piggybacking on top of @mikealfare. see this excerpt of the test log. the error is raised by _logger.debug("connection.redshift_types=%s", self.redshift_types) The error message is complaining that |
Hi @mikealfare, thanks for testing! I ran the tests in a venv using tox and all tests passed (must have been all unit tests). What should I do to reproduce this locally? How do I run the integration tests? Thanks for the briefing @dataders, I'll take a look 🙂 |
@soksamnanglim Yeah, just running
|
my hunch is that _logger.debug("connection.redshift_types=%s", str(self.redshift_types)) |
The following is a paraphrase from Brooke: Rs connector tested logging, however we didn't do any compatibility testing with logbook. |
Agreed that this is not from It looks like the arguments in |
@soksamnanglim can you get this PR's tests running with the changes that you said you had made? The |
Hi dbt team! The python driver release came out today, so I updated this CR to bump the version to 2.0.915. |
yo @soksamnanglim -- thanks for the follow-up! The end is in sight. Two questions:
|
|
Update! I ran integration tests with py38 locally and all the materialized view tests pass with version 2.0.915. Hopefully we can get this resolved soon 🙂 |
* Update redshift-connector requirement form 2.0.913 to 2.0.914 * Ran changie to update changelog * Update redshift-connector requirement from 2.0.913 to 2.0.915 --------- Co-authored-by: Anders <anders.swanson@dbtlabs.com> Co-authored-by: colin-rogers-dbt <111200756+colin-rogers-dbt@users.noreply.github.com> (cherry picked from commit fe30bb1)
* Update redshift-connector requirement form 2.0.913 to 2.0.914 * Ran changie to update changelog * Update redshift-connector requirement from 2.0.913 to 2.0.915 --------- Co-authored-by: Anders <anders.swanson@dbtlabs.com> Co-authored-by: colin-rogers-dbt <111200756+colin-rogers-dbt@users.noreply.github.com> (cherry picked from commit fe30bb1)
…640) * Update redshift-connector requirement form 2.0.913 to 2.0.914 * Ran changie to update changelog * Update redshift-connector requirement from 2.0.913 to 2.0.915 --------- Co-authored-by: Anders <anders.swanson@dbtlabs.com> Co-authored-by: colin-rogers-dbt <111200756+colin-rogers-dbt@users.noreply.github.com> (cherry picked from commit fe30bb1) Co-authored-by: soksamnanglim <68088894+soksamnanglim@users.noreply.github.com>
…639) * Update redshift-connector requirement form 2.0.913 to 2.0.914 * Ran changie to update changelog * Update redshift-connector requirement from 2.0.913 to 2.0.915 --------- Co-authored-by: Anders <anders.swanson@dbtlabs.com> Co-authored-by: colin-rogers-dbt <111200756+colin-rogers-dbt@users.noreply.github.com> (cherry picked from commit fe30bb1) Co-authored-by: soksamnanglim <68088894+soksamnanglim@users.noreply.github.com> Co-authored-by: Mike Alfare <13974384+mikealfare@users.noreply.github.com>
resolves #556 , resolves #456 , resolves #347
Problem
Updates the version to new release of redshift-connector. Here's the relevant changelog for 2.0.914
here are the relevant PRs that improve error messaging in the drive
Solution
The new release:
Prepared statement exceeds bind parameter limit 32767.
instead of struct.error'h' format requires -32768 <= number <= 32767
BrokenPipe: server socket closed.
instead of struct.errorunpack_from requires a buffer of at least 5 bytes for unpacking 5 bytes at offset 0 (actual buffer size is 0)
Checklist