Title: Array contains operation is not supported · Issue #613 · googleapis/python-spanner-sqlalchemy · GitHub
Open Graph Title: Array contains operation is not supported · Issue #613 · googleapis/python-spanner-sqlalchemy
X Title: Array contains operation is not supported · Issue #613 · googleapis/python-spanner-sqlalchemy
Description: When creating an Array type column, the contains operation is not supported. To reproduce from sqlalchemy import ARRAY, String from sqlalchemy.orm import DeclarativeBase, Mapped, mapped_column class Base(DeclarativeBase): pass class Samp...
Open Graph Description: When creating an Array type column, the contains operation is not supported. To reproduce from sqlalchemy import ARRAY, String from sqlalchemy.orm import DeclarativeBase, Mapped, mapped_column clas...
X Description: When creating an Array type column, the contains operation is not supported. To reproduce from sqlalchemy import ARRAY, String from sqlalchemy.orm import DeclarativeBase, Mapped, mapped_column clas...
Opengraph URL: https://github.com/googleapis/python-spanner-sqlalchemy/issues/613
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Array contains operation is not supported","articleBody":"When creating an Array type column, the contains operation is not supported.\n\n### To reproduce\n\n```python\nfrom sqlalchemy import ARRAY, String\nfrom sqlalchemy.orm import DeclarativeBase, Mapped, mapped_column\n\nclass Base(DeclarativeBase):\n pass\n\nclass Sample(Base):\n __tablename__ = \"sample_table\"\n sample_field: Mapped[list[str]] = mapped_column(ARRAY(String(20)), nullable=False)\n\n...\n\nstmt = select(Sample).filter(Sample.sample_field.contains(\"test\"))\n```\n\n### Error\n\n```\nNotImplementedError: ARRAY.contains() not implemented for the base ARRAY type; please use the dialect-specific ARRAY type\n```\n\nGoing through the spanner dialect code, I could not find any array type I could import.","author":{"url":"https://github.com/csibe17","@type":"Person","name":"csibe17"},"datePublished":"2025-03-07T10:13:23.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/613/python-spanner-sqlalchemy/issues/613"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:3a70b94c-5263-387e-9ed2-d82639f40c15 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BA74:3FBF57:2CFFF1:3AD606:697825A0 |
| html-safe-nonce | 6f43b0a1fe69d2baa9b46b4b9ee9a228a58772de7ce671c8aa8ea23b792f555f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQTc0OjNGQkY1NzoyQ0ZGRjE6M0FENjA2OjY5NzgyNUEwIiwidmlzaXRvcl9pZCI6IjY2MTQ2MjY5MDc1MzY3NjIyNzIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 021a1b03adb4bcfedc8151d23cfca6a10eed09841508aad1c86c456a685c5f83 |
| hovercard-subject-tag | issue:2902574841 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/python-spanner-sqlalchemy/613/issue_layout |
| twitter:image | https://opengraph.githubassets.com/43035e821c86c5a8e2d82301e38a2a293e62f5a3b9c60dd3372eded36e84a5d6/googleapis/python-spanner-sqlalchemy/issues/613 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/43035e821c86c5a8e2d82301e38a2a293e62f5a3b9c60dd3372eded36e84a5d6/googleapis/python-spanner-sqlalchemy/issues/613 |
| og:image:alt | When creating an Array type column, the contains operation is not supported. To reproduce from sqlalchemy import ARRAY, String from sqlalchemy.orm import DeclarativeBase, Mapped, mapped_column clas... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | csibe17 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2981c597c945c1d90ac6fa355ce7929b2f413dfe7872ca5c435ee53a24a1de50 |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/python-spanner-sqlalchemy git https://github.com/googleapis/python-spanner-sqlalchemy.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 335511641 |
| octolytics-dimension-repository_nwo | googleapis/python-spanner-sqlalchemy |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 335511641 |
| octolytics-dimension-repository_network_root_nwo | googleapis/python-spanner-sqlalchemy |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8cc3e064910e26648760f573a358cfc07c97b42c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width