René's URL Explorer Experiment


Title: Compliance Test Failures in SQLAlchemy Spanner Dialect · Issue #805 · googleapis/python-spanner-sqlalchemy · GitHub

Open Graph Title: Compliance Test Failures in SQLAlchemy Spanner Dialect · Issue #805 · googleapis/python-spanner-sqlalchemy

X Title: Compliance Test Failures in SQLAlchemy Spanner Dialect · Issue #805 · googleapis/python-spanner-sqlalchemy

Description: Observed Behavior: The compliance_test_20 test suite for the SQLAlchemy Spanner dialect is failing on Python 3.13 and 3.14. The failures occur in tests related to schema reflection, specifically with identifiers that are quoted, contain ...

Open Graph Description: Observed Behavior: The compliance_test_20 test suite for the SQLAlchemy Spanner dialect is failing on Python 3.13 and 3.14. The failures occur in tests related to schema reflection, specifically wi...

X Description: Observed Behavior: The compliance_test_20 test suite for the SQLAlchemy Spanner dialect is failing on Python 3.13 and 3.14. The failures occur in tests related to schema reflection, specifically wi...

Opengraph URL: https://github.com/googleapis/python-spanner-sqlalchemy/issues/805

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Compliance Test Failures in SQLAlchemy Spanner Dialect","articleBody":"**Observed Behavior:**\n\nThe `compliance_test_20` test suite for the SQLAlchemy Spanner dialect is failing on Python 3.13 and 3.14. The failures occur in tests related to schema reflection, specifically with identifiers that are quoted, contain dots, or have mixed case.\n\n**Environment:**\n\n-   Python: 3.13 and 3.14\n-   SQLAlchemy: 2.0.45 (as per test logs)\n-   Spanner Emulator: latest\n\n**Failure Categories:**\n\n1.  **Teardown Errors:** Difficulty dropping schema elements created during tests, suggesting they weren't named or registered as expected.\n\n```\ngoogle.api_core.exceptions.NotFound: 404 fk.with.dots is not a constraint in user_orders\ngoogle.api_core.exceptions.NotFound: 404 Index not found: ix.with.dots\ngoogle.api_core.exceptions.FailedPrecondition: 400 Cannot drop table test_table with indices: IX_test_data.\n```\n\n2.  **Reflection Errors for Quoted/Special Names:** The dialect fails to correctly return foreign keys, indexes, and unique constraints when their names include quotes, dots, or mixed case.\n\n*   **Foreign Keys:**\n\n```\nAssertionError: 0 != 1\nIn test_get_foreign_keys_quoted_name[FK_users_id]\n\nAssertionError: 'FK_users_id' != 'fk.with.dots'\nIn test_get_foreign_keys_quoted_name[fk.with.dots]\n\nAssertionError: 'FK_users_id' != 'fk_users_id'\nIn test_get_foreign_keys_quoted_name[fk_users_id]\n```\n\n*   **Indexes:**\n\n```\nAssertionError: Expected IX_test_data in []\nIn test_get_indexes_quoted_name[IX_test_data]\n\nAssertionError: Expected ix.with.dots in ['IX_test_data']\nIn test_get_indexes_quoted_name[ix.with.dots]\n\nAssertionError: Expected mixedCaseIndex in ['IX_test_data']\nIn test_get_indexes_quoted_name[mixedCaseIndex]\n```\n\n*   **Unique Constraints:**\n\n```\nAssertionError: 0 != 1\nIn test_get_unique_constraints_quoted_name[UQ_email]\n```\n\n3.  **Incomplete Schema Reflection:** Tests retrieving multiple schema objects show discrepancies in the returned sets.\n\n```\nAssertionError: {'dingalings', 'email_addresses', 'test_table', 'user_orders', 'users',\n'users_ref'} != {'dingalings', 'email_addresses', 'users'}\nIn test_get_table_names[False-_exclusions_01-None-_exclusions_10]\n```\n\n**Suspected Cause:**\n\nThe core issue seems to be the dialect's handling of quoted identifiers and those with special characters or casing within the schema reflection queries against the Spanner \nINFORMATION_SCHEMA. The dialect might not be correctly quoting or escaping these names in the queries, or not properly processing the results.\n\n**Next Steps:**\n\n-   Investigate the SQL generated by the dialect for reflection methods.\n-   Verify how quoted identifiers are handled in the dialect's parsing logic.\n-   Test against a real Cloud Spanner instance to rule out emulator-specific behavior.","author":{"url":"https://github.com/chalmerlowe","@type":"Person","name":"chalmerlowe"},"datePublished":"2025-12-10T12:41:35.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/805/python-spanner-sqlalchemy/issues/805"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:079d9027-f6c1-4b2c-025c-9f3bf388446e
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB764:1ED5CB:6B7EE96:92C4507:69786642
html-safe-noncea7c59bfc4e0914871058a03e29248fc65f1062dc3db66ce40ccba3d025ada85a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNzY0OjFFRDVDQjo2QjdFRTk2OjkyQzQ1MDc6Njk3ODY2NDIiLCJ2aXNpdG9yX2lkIjoiNzkxNDU0OTI4OTk2MTQxNjI1OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac4109982ed471810ca3f5c9363fe149672a52ed96ab4785681dc6b4a14b672d2d
hovercard-subject-tagissue:3715046230
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/python-spanner-sqlalchemy/805/issue_layout
twitter:imagehttps://opengraph.githubassets.com/c32257f1a68be35159243a14e70d08f324244dfac6290aaa07ccc01199727f15/googleapis/python-spanner-sqlalchemy/issues/805
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c32257f1a68be35159243a14e70d08f324244dfac6290aaa07ccc01199727f15/googleapis/python-spanner-sqlalchemy/issues/805
og:image:altObserved Behavior: The compliance_test_20 test suite for the SQLAlchemy Spanner dialect is failing on Python 3.13 and 3.14. The failures occur in tests related to schema reflection, specifically wi...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamechalmerlowe
hostnamegithub.com
expected-hostnamegithub.com
None2981c597c945c1d90ac6fa355ce7929b2f413dfe7872ca5c435ee53a24a1de50
turbo-cache-controlno-preview
go-importgithub.com/googleapis/python-spanner-sqlalchemy git https://github.com/googleapis/python-spanner-sqlalchemy.git
octolytics-dimension-user_id16785467
octolytics-dimension-user_logingoogleapis
octolytics-dimension-repository_id335511641
octolytics-dimension-repository_nwogoogleapis/python-spanner-sqlalchemy
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id335511641
octolytics-dimension-repository_network_root_nwogoogleapis/python-spanner-sqlalchemy
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release520b65a872113b919c1bbdb03834a50af15859fd
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/googleapis/python-spanner-sqlalchemy/issues/805#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fpython-spanner-sqlalchemy%2Fissues%2F805
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fpython-spanner-sqlalchemy%2Fissues%2F805
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=googleapis%2Fpython-spanner-sqlalchemy
Reloadhttps://patch-diff.githubusercontent.com/googleapis/python-spanner-sqlalchemy/issues/805
Reloadhttps://patch-diff.githubusercontent.com/googleapis/python-spanner-sqlalchemy/issues/805
Reloadhttps://patch-diff.githubusercontent.com/googleapis/python-spanner-sqlalchemy/issues/805
googleapis https://patch-diff.githubusercontent.com/googleapis
python-spanner-sqlalchemyhttps://patch-diff.githubusercontent.com/googleapis/python-spanner-sqlalchemy
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fgoogleapis%2Fpython-spanner-sqlalchemy
Fork 33 https://patch-diff.githubusercontent.com/login?return_to=%2Fgoogleapis%2Fpython-spanner-sqlalchemy
Star 52 https://patch-diff.githubusercontent.com/login?return_to=%2Fgoogleapis%2Fpython-spanner-sqlalchemy
Code https://patch-diff.githubusercontent.com/googleapis/python-spanner-sqlalchemy
Issues 14 https://patch-diff.githubusercontent.com/googleapis/python-spanner-sqlalchemy/issues
Pull requests 17 https://patch-diff.githubusercontent.com/googleapis/python-spanner-sqlalchemy/pulls
Actions https://patch-diff.githubusercontent.com/googleapis/python-spanner-sqlalchemy/actions
Projects 0 https://patch-diff.githubusercontent.com/googleapis/python-spanner-sqlalchemy/projects
Security 0 https://patch-diff.githubusercontent.com/googleapis/python-spanner-sqlalchemy/security
Insights https://patch-diff.githubusercontent.com/googleapis/python-spanner-sqlalchemy/pulse
Code https://patch-diff.githubusercontent.com/googleapis/python-spanner-sqlalchemy
Issues https://patch-diff.githubusercontent.com/googleapis/python-spanner-sqlalchemy/issues
Pull requests https://patch-diff.githubusercontent.com/googleapis/python-spanner-sqlalchemy/pulls
Actions https://patch-diff.githubusercontent.com/googleapis/python-spanner-sqlalchemy/actions
Projects https://patch-diff.githubusercontent.com/googleapis/python-spanner-sqlalchemy/projects
Security https://patch-diff.githubusercontent.com/googleapis/python-spanner-sqlalchemy/security
Insights https://patch-diff.githubusercontent.com/googleapis/python-spanner-sqlalchemy/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/googleapis/python-spanner-sqlalchemy/issues/805
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/googleapis/python-spanner-sqlalchemy/issues/805
Compliance Test Failures in SQLAlchemy Spanner Dialecthttps://patch-diff.githubusercontent.com/googleapis/python-spanner-sqlalchemy/issues/805#top
https://patch-diff.githubusercontent.com/olavloite
api: spannerIssues related to the googleapis/python-spanner-sqlalchemy API.https://github.com/googleapis/python-spanner-sqlalchemy/issues?q=state%3Aopen%20label%3A%22api%3A%20spanner%22
priority: p2Moderately-important priority. Fix may not be included in next release.https://github.com/googleapis/python-spanner-sqlalchemy/issues?q=state%3Aopen%20label%3A%22priority%3A%20p2%22
type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.https://github.com/googleapis/python-spanner-sqlalchemy/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%22
https://github.com/chalmerlowe
https://github.com/chalmerlowe
chalmerlowehttps://github.com/chalmerlowe
on Dec 10, 2025https://github.com/googleapis/python-spanner-sqlalchemy/issues/805#issue-3715046230
olavloitehttps://patch-diff.githubusercontent.com/olavloite
api: spannerIssues related to the googleapis/python-spanner-sqlalchemy API.https://github.com/googleapis/python-spanner-sqlalchemy/issues?q=state%3Aopen%20label%3A%22api%3A%20spanner%22
priority: p2Moderately-important priority. Fix may not be included in next release.https://github.com/googleapis/python-spanner-sqlalchemy/issues?q=state%3Aopen%20label%3A%22priority%3A%20p2%22
type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.https://github.com/googleapis/python-spanner-sqlalchemy/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.