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: Index on a table containing columns with no sort order fails while reflecting the table #400

Closed
wants to merge 1 commit into from

Conversation

mmahmed
Copy link

@mmahmed mmahmed commented Jun 11, 2024

Fixes #399

  1. Ignore None order as SQLAlchemy only processes ASC, DESC
  2. SQLAlchemy requires order in lowercase (asc, desc)

Copy link

google-cla bot commented Jun 11, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Copy link

conventional-commit-lint-gcf bot commented Jun 11, 2024

🤖 I detect that the PR title and the commit message differ and there's only one commit. To use the PR title for the commit history, you can use Github's automerge feature with squashing, or use automerge label. Good luck human!

-- conventional-commit-lint bot
https://conventionalcommits.org/

@product-auto-label product-auto-label bot added the api: spanner Issues related to the googleapis/python-spanner-sqlalchemy API. label Jun 11, 2024
@mmahmed mmahmed changed the title Fixing Column Order Attributes on Index Fixing Column Order Attributes Jun 11, 2024
@mmahmed mmahmed changed the title Fixing Column Order Attributes fix: Index on a table containing columns with no sort order fails while reflecting the table Jun 11, 2024
@olavloite olavloite self-assigned this Jul 8, 2024
@olavloite
Copy link
Contributor

@mmahmed Would you mind adding a test that fails without this change and succeeds with the change?

…le reflecting the table

Fixes:
1. Ignore None order as SQLAlchemy only processes ASC, DESC
2. SQLAlchemy requires order in lowercase (asc, desc)
@olavloite
Copy link
Contributor

Closing in favor of #485

@olavloite olavloite closed this Nov 4, 2024
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.

Index on a table containing columns with no sort order fails while reflecting the table
2 participants