René's URL Explorer Experiment


Title: Unnest function in BigQuery SQLAlchemy plugin joins twice when selecting other columns · Issue #353 · googleapis/python-bigquery-sqlalchemy · GitHub

Open Graph Title: Unnest function in BigQuery SQLAlchemy plugin joins twice when selecting other columns · Issue #353 · googleapis/python-bigquery-sqlalchemy

X Title: Unnest function in BigQuery SQLAlchemy plugin joins twice when selecting other columns · Issue #353 · googleapis/python-bigquery-sqlalchemy

Description: From a customer support request: Using the UNNEST function generates a CROSS JOIN with a table to itself. A minimal example is included below. The following Python code: from sqlalchemy import create_engine, MetaData, select, func as F, ...

Open Graph Description: From a customer support request: Using the UNNEST function generates a CROSS JOIN with a table to itself. A minimal example is included below. The following Python code: from sqlalchemy import crea...

X Description: From a customer support request: Using the UNNEST function generates a CROSS JOIN with a table to itself. A minimal example is included below. The following Python code: from sqlalchemy import crea...

Opengraph URL: https://github.com/googleapis/python-bigquery-sqlalchemy/issues/353

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unnest function in BigQuery SQLAlchemy plugin joins twice when selecting other columns","articleBody":"From a customer support request:\r\n\r\nUsing the UNNEST function generates a CROSS JOIN with a table to itself.\r\nA minimal example is included below. The following Python code:\r\n\r\n```\r\nfrom sqlalchemy import create_engine, MetaData, select, func as F, Table, Column, Integer, ARRAY\r\nmetadata = MetaData()\r\ntable = Table(\r\n  \"table1\",\r\n  metadata,\r\n  Column(\"foo\", Integer),\r\n  Column(\"bar\", ARRAY(Integer))\r\n)\r\nengine = create_engine(\"bigquery://\", future=True)\r\nq = select(table.c.foo).where(F.unnest(table.c.bar).column_valued() == 1)\r\nprint(q.compile(engine))\r\n```\r\n\r\nGenerates this query:\r\n\r\n```\r\nSELECT `table1`.`foo` \r\nFROM `table1`, `table1` `table1_1`, unnest(`table1_1`.`bar`) AS `anon_1` \r\nWHERE `anon_1` = %(param_1:INT64)s\r\n```\r\n\r\nI expect it to generate this query instead (note the different FROM clause):\r\n\r\n```\r\nSELECT `table1`.`foo` \r\nFROM `table1`,  unnest(`table1`.`bar`) AS `anon_1` \r\nWHERE `anon_1` = %(param_1:INT64)s\r\n```","author":{"url":"https://github.com/tswast","@type":"Person","name":"tswast"},"datePublished":"2021-10-11T16:45:22.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/353/python-bigquery-sqlalchemy/issues/353"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:87e21075-c11f-f1ea-4766-bfc67013230c
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8982:CA906:E21B00:1463A33:6A4E4F03
html-safe-nonce55f596a35437d105527bce212c2a87a04da2cf4adff334d5c0caa1ead5cb83b5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OTgyOkNBOTA2OkUyMUIwMDoxNDYzQTMzOjZBNEU0RjAzIiwidmlzaXRvcl9pZCI6IjYzNzcyNjg0NzY1NjY3NzEyMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace9e8382486aab9a376a7753f80b4b2a233e6b89665158a3ea5043e9ab2e08ad9
hovercard-subject-tagissue:1022921007
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-bigquery-sqlalchemy/353/issue_layout
twitter:imagehttps://opengraph.githubassets.com/b7b6188e9d1fc4cc2a7e359c0aedc0f888b5e6c73eaa2b50efab66d0922308bf/googleapis/python-bigquery-sqlalchemy/issues/353
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b7b6188e9d1fc4cc2a7e359c0aedc0f888b5e6c73eaa2b50efab66d0922308bf/googleapis/python-bigquery-sqlalchemy/issues/353
og:image:altFrom a customer support request: Using the UNNEST function generates a CROSS JOIN with a table to itself. A minimal example is included below. The following Python code: from sqlalchemy import crea...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernametswast
hostnamegithub.com
expected-hostnamegithub.com
None030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0
turbo-cache-controlno-preview
go-importgithub.com/googleapis/python-bigquery-sqlalchemy git https://github.com/googleapis/python-bigquery-sqlalchemy.git
octolytics-dimension-user_id16785467
octolytics-dimension-user_logingoogleapis
octolytics-dimension-repository_id93616231
octolytics-dimension-repository_nwogoogleapis/python-bigquery-sqlalchemy
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id93616231
octolytics-dimension-repository_network_root_nwogoogleapis/python-bigquery-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
releasee8506f6d0538364886e3f0153c154c410965e70d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/googleapis/python-bigquery-sqlalchemy/issues/353#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fpython-bigquery-sqlalchemy%2Fissues%2F353
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fpython-bigquery-sqlalchemy%2Fissues%2F353
Sign up https://github.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-bigquery-sqlalchemy
Reloadhttps://github.com/googleapis/python-bigquery-sqlalchemy/issues/353
Reloadhttps://github.com/googleapis/python-bigquery-sqlalchemy/issues/353
Reloadhttps://github.com/googleapis/python-bigquery-sqlalchemy/issues/353
Please reload this pagehttps://github.com/googleapis/python-bigquery-sqlalchemy/issues/353
googleapis https://github.com/googleapis
python-bigquery-sqlalchemyhttps://github.com/googleapis/python-bigquery-sqlalchemy
Notifications https://github.com/login?return_to=%2Fgoogleapis%2Fpython-bigquery-sqlalchemy
Fork 140 https://github.com/login?return_to=%2Fgoogleapis%2Fpython-bigquery-sqlalchemy
Star 490 https://github.com/login?return_to=%2Fgoogleapis%2Fpython-bigquery-sqlalchemy
Code https://github.com/googleapis/python-bigquery-sqlalchemy
Issues 0 https://github.com/googleapis/python-bigquery-sqlalchemy/issues
Pull requests 1 https://github.com/googleapis/python-bigquery-sqlalchemy/pulls
Actions https://github.com/googleapis/python-bigquery-sqlalchemy/actions
Projects https://github.com/googleapis/python-bigquery-sqlalchemy/projects
Security and quality 0 https://github.com/googleapis/python-bigquery-sqlalchemy/security
Insights https://github.com/googleapis/python-bigquery-sqlalchemy/pulse
Code https://github.com/googleapis/python-bigquery-sqlalchemy
Issues https://github.com/googleapis/python-bigquery-sqlalchemy/issues
Pull requests https://github.com/googleapis/python-bigquery-sqlalchemy/pulls
Actions https://github.com/googleapis/python-bigquery-sqlalchemy/actions
Projects https://github.com/googleapis/python-bigquery-sqlalchemy/projects
Security and quality https://github.com/googleapis/python-bigquery-sqlalchemy/security
Insights https://github.com/googleapis/python-bigquery-sqlalchemy/pulse
#361https://github.com/googleapis/python-bigquery-sqlalchemy/pull/361
Unnest function in BigQuery SQLAlchemy plugin joins twice when selecting other columnshttps://github.com/googleapis/python-bigquery-sqlalchemy/issues/353#top
#361https://github.com/googleapis/python-bigquery-sqlalchemy/pull/361
https://github.com/tseaver
api: bigqueryIssues related to the googleapis/python-bigquery-sqlalchemy API.https://github.com/googleapis/python-bigquery-sqlalchemy/issues?q=state%3Aopen%20label%3A%22api%3A%20bigquery%22
priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.https://github.com/googleapis/python-bigquery-sqlalchemy/issues?q=state%3Aopen%20label%3A%22priority%3A%20p1%22
type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.https://github.com/googleapis/python-bigquery-sqlalchemy/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%22
https://github.com/tswast
tswasthttps://github.com/tswast
on Oct 11, 2021https://github.com/googleapis/python-bigquery-sqlalchemy/issues/353#issue-1022921007
tseaverhttps://github.com/tseaver
api: bigqueryIssues related to the googleapis/python-bigquery-sqlalchemy API.https://github.com/googleapis/python-bigquery-sqlalchemy/issues?q=state%3Aopen%20label%3A%22api%3A%20bigquery%22
priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.https://github.com/googleapis/python-bigquery-sqlalchemy/issues?q=state%3Aopen%20label%3A%22priority%3A%20p1%22
type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.https://github.com/googleapis/python-bigquery-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.