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: Fixing test for literals due to change in sqlalchemy core tests #384

Merged
merged 3 commits into from
Feb 1, 2024

Conversation

ankiaga
Copy link
Contributor

@ankiaga ankiaga commented Jan 30, 2024

There are couple of changes in this PR to fix this repo pipeline which is failing from last 3 months:

  1. Spanner doesn't supports inserting 2 rows (a row with NULL value and a row with some value for a given datatype) for a table with empty primary key. SqlAlchemy added tests couple of months back to insert 2 such rows for different datatypes columns so those tests started failing for this repo.
    Fixing to override those tests so as not to insert a row with NULL value but just a single row for each datatype

  2. tests: remove editable install in tests

  3. accommodate NULL at the compiler level for literal_render. Please see sqlalchemy/sqlalchemy@1a23c8d where are copying changes from compiler.py

@product-auto-label product-auto-label bot added the api: spanner Issues related to the googleapis/python-spanner-sqlalchemy API. label Jan 30, 2024
@ankiaga ankiaga added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 30, 2024
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 30, 2024
@ankiaga ankiaga added kokoro:force-run Add this label to force Kokoro to re-run the tests. snippet-bot:force-run Force snippet-bot runs its logic labels Jan 30, 2024
@snippet-bot snippet-bot bot removed the snippet-bot:force-run Force snippet-bot runs its logic label Jan 30, 2024
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 30, 2024
@ankiaga ankiaga requested a review from parthea January 31, 2024 05:09
@ankiaga ankiaga merged commit 62cccc3 into googleapis:main Feb 1, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: spanner Issues related to the googleapis/python-spanner-sqlalchemy API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants