René's URL Explorer Experiment


Title: Datastore: projection queries do not return the same number of records. · Issue #9600 · googleapis/google-cloud-python · GitHub

Open Graph Title: Datastore: projection queries do not return the same number of records. · Issue #9600 · googleapis/google-cloud-python

X Title: Datastore: projection queries do not return the same number of records. · Issue #9600 · googleapis/google-cloud-python

Description: OS: ubuntu 19.04 Python: 3.7.3 Client library: google-cloud-datastore 1.10.0 Steps to reproduce Import data into datastore (fairly big records with many fields, actually datex 2 compatible data for situations) Query all data and count th...

Open Graph Description: OS: ubuntu 19.04 Python: 3.7.3 Client library: google-cloud-datastore 1.10.0 Steps to reproduce Import data into datastore (fairly big records with many fields, actually datex 2 compatible data for...

X Description: OS: ubuntu 19.04 Python: 3.7.3 Client library: google-cloud-datastore 1.10.0 Steps to reproduce Import data into datastore (fairly big records with many fields, actually datex 2 compatible data for...

Opengraph URL: https://github.com/googleapis/google-cloud-python/issues/9600

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Datastore: projection queries do not return the same number of records.","articleBody":"OS: ubuntu 19.04\r\nPython: 3.7.3\r\nClient library: google-cloud-datastore 1.10.0\r\n\r\n#### Steps to reproduce\r\n\r\n  1. Import data into datastore (fairly big records with many fields, actually datex 2 compatible data for situations)\r\n  2. Query all data and count the records.\r\n  3. Make a projection query for 3-4 of the fields\r\n  4. Create the suggested index.\r\n  5. Run the projection query and count the records.\r\n\r\nI seem to get only 25% of the records using the projection query, which I cant understand, for the same filter and options only by using the exact same settings as the first query.\r\n\r\n#### Code example\r\n\r\n```python\r\n  query = client.query(kind='TestData', namespace='TestNamespace1')\r\n  data = query.fetch()\r\n  run1 = len(list(data))\r\n  query = client.query(kind='TestData', namespace='TestNamespace1')\r\n  query.projection = ['field1', 'field2', 'field3', 'field4']\r\n  data = query.fetch()\r\n  run2 = len(list(data))\r\n  print('%s should be like %s' % (run1, run2))\r\n```\r\n\r\n#### Stack trace\r\nYou dont get stacktrace outside of the initial one that gives you the hint for the correct index to create in the database. I created the suggested one.\r\n\r\nAll fields outside of 1 is string or number one is lat long position using the datastore type.\r\n\r\nConsidering none projection query runs in 6 seconds and returns a result set of 18Mb I would prefer to get this working with the projection query coupled with gzip which run in 200ms where the result set should be 54Kb :)\r\n","author":{"url":"https://github.com/klausmyrseth","@type":"Person","name":"klausmyrseth"},"datePublished":"2019-11-05T12:58:38Z","url":"https://github.com/googleapis/google-cloud-python/issues/9600"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:605e5eea-c416-8db0-7fa2-69ec97e606ba
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBFCC:9042A:14A488:1C14D5:6AFE15DB
html-safe-nonce48ee73cc17fd5356d2107198c54d224be39c140873b12e5389c231d7a66a4d88
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRkNDOjkwNDJBOjE0QTQ4ODoxQzE0RDU6NkFGRTE1REIiLCJ2aXNpdG9yX2lkIjoiMTExNDc3Mzk3NjI0NTk5OTA2OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac62a17f0c925ee9d12b32ad4e59474ced69a0555de053cc2b8f72f749abb4e596
hovercard-subject-tagissue:517757383
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/google-cloud-python/9600/issue_layout
twitter:imagehttps://opengraph.githubassets.com/ac0b64a3c7ce7e46af8b6baf03e240e888d3747178a1a21679679e98d011f9bf/googleapis/google-cloud-python/issues/9600
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ac0b64a3c7ce7e46af8b6baf03e240e888d3747178a1a21679679e98d011f9bf/googleapis/google-cloud-python/issues/9600
og:image:altOS: ubuntu 19.04 Python: 3.7.3 Client library: google-cloud-datastore 1.10.0 Steps to reproduce Import data into datastore (fairly big records with many fields, actually datex 2 compatible data for...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameklausmyrseth
hostnamegithub.com
expected-hostnamegithub.com
None3cd8a1d79ccbf9aecac62781f79072482a49047fb982b8c9e2ad4aca8bf6a9af
turbo-cache-controlno-preview
go-importgithub.com/googleapis/google-cloud-python git https://github.com/googleapis/google-cloud-python.git
octolytics-dimension-user_id16785467
octolytics-dimension-user_logingoogleapis
octolytics-dimension-repository_id16316451
octolytics-dimension-repository_nwogoogleapis/google-cloud-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id16316451
octolytics-dimension-repository_network_root_nwogoogleapis/google-cloud-python
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
release05539640a34afe6142a519483d78ddd766a1304a
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/googleapis/google-cloud-python/issues/9600#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fgoogle-cloud-python%2Fissues%2F9600
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fgoogle-cloud-python%2Fissues%2F9600
Sign uphttps://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%2Fgoogle-cloud-python
Reloadhttps://github.com/googleapis/google-cloud-python/issues/9600
Reloadhttps://github.com/googleapis/google-cloud-python/issues/9600
Reloadhttps://github.com/googleapis/google-cloud-python/issues/9600
googleapishttps://github.com/googleapis
google-cloud-pythonhttps://github.com/googleapis/google-cloud-python
Codehttps://github.com/googleapis/google-cloud-python
Issues448 (448)https://github.com/googleapis/google-cloud-python/issues
Pull requests199 (199)https://github.com/googleapis/google-cloud-python/pulls
Discussionshttps://github.com/googleapis/google-cloud-python/discussions
Actionshttps://github.com/googleapis/google-cloud-python/actions
Projectshttps://github.com/googleapis/google-cloud-python/projects
Security and qualityhttps://github.com/googleapis/google-cloud-python/security
Insightshttps://github.com/googleapis/google-cloud-python/insights
https://github.com/googleapis/google-cloud-python
New issuehttps://github.com/login?return_to=https://github.com/googleapis/google-cloud-python/issues/9600
New issuehttps://github.com/login?return_to=https://github.com/googleapis/google-cloud-python/issues/9600
Datastore: projection queries do not return the same number of records.https://github.com/googleapis/google-cloud-python/issues/9600#top
https://github.com/tseaver
api: datastoreIssues related to the Datastore API.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22api%3A%20datastore%22
status: awaiting informationhttps://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22status%3A%20awaiting%20information%22
type: questionRequest for information or clarification. Not an issue.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22type%3A%20question%22
https://github.com/klausmyrseth
klausmyrsethhttps://github.com/klausmyrseth
on Nov 5, 2019https://github.com/googleapis/google-cloud-python/issues/9600#issue-517757383
busunkim96https://github.com/busunkim96
api: datastoreIssues related to the Datastore API.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22api%3A%20datastore%22
on Nov 5, 2019https://github.com/googleapis/google-cloud-python/issues/9600#event-2772273227
tseaverhttps://github.com/tseaver
on Nov 5, 2019https://github.com/googleapis/google-cloud-python/issues/9600#event-2772477714
tseaverhttps://github.com/tseaver
type: questionRequest for information or clarification. Not an issue.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22type%3A%20question%22
on Nov 5, 2019https://github.com/googleapis/google-cloud-python/issues/9600#event-2772478026
https://github.com/tseaver
tseaverhttps://github.com/tseaver
on Nov 5, 2019https://github.com/googleapis/google-cloud-python/issues/9600#issuecomment-549968955
@klausmyrsethhttps://github.com/klausmyrseth
restriction on projection querieshttps://cloud.google.com/datastore/docs/concepts/queries#restrictions_on_queries
tseaverhttps://github.com/tseaver
status: awaiting informationhttps://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22status%3A%20awaiting%20information%22
on Nov 5, 2019https://github.com/googleapis/google-cloud-python/issues/9600#event-2772577826
https://github.com/klausmyrseth
klausmyrsethhttps://github.com/klausmyrseth
on Nov 5, 2019https://github.com/googleapis/google-cloud-python/issues/9600#issuecomment-549985254
https://github.com/tseaver
tseaverhttps://github.com/tseaver
on Nov 6, 2019https://github.com/googleapis/google-cloud-python/issues/9600#issuecomment-550369534
@klausmyrsethhttps://github.com/klausmyrseth
tseaverhttps://github.com/tseaver
completedhttps://github.com/googleapis/google-cloud-python/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Nov 6, 2019https://github.com/googleapis/google-cloud-python/issues/9600#event-2775828609
JustinBeckwithhttps://github.com/JustinBeckwith
tseaverhttps://github.com/tseaver
on Feb 1, 2021https://github.com/googleapis/google-cloud-python/issues/9600#event-4276465013
Sign up for freehttps://github.com/signup?return_to=https://github.com/googleapis/google-cloud-python/issues/9600
Sign in to commenthttps://github.com/login?return_to=https://github.com/googleapis/google-cloud-python/issues/9600
tseaverhttps://github.com/tseaver
api: datastoreIssues related to the Datastore API.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22api%3A%20datastore%22
status: awaiting informationhttps://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22status%3A%20awaiting%20information%22
type: questionRequest for information or clarification. Not an issue.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22type%3A%20question%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.