-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Lazy loading of entities when running a query #548
Comments
Hi @clardeur, thanks for reporting this issue. Query results are already sent in batches, but it looks like the amount of data per batch is still causing you errors. As a work around for your issue, we can set int limit = 100;
StructuredQuery<Entity> query = Query.entityQueryBuilder()
.kind("user")
.limit(limit)
.build();
while (true) {
QueryResults<Entity> results = datastore.run(query);
int resultCount = 0;
while (results.hasNext()) {
Entity result = results.next(); // consume all results
// do something with the result
resultCount++;
}
if (resultCount < limit) {
break;
}
query = query.toBuilder().startCursor(results.cursorAfter()).build();
} For |
This behavior stems from a Google Cloud Datastore issue, which can be tracked here. I've edited my comment above to mention that instead of introducing a new cursor, we will set |
@ajkannan Thanks for your quick reply and the workaround. I understand that the batch size is a restriction from Google Cloud Datastore and you don't have the control on it but I think that as an end-user of the Could you expose on the API a |
@clardeur Thanks for the reply. I think you are right, what we do elsewhere in StructuredQuery<Entity> query = Query.entityQueryBuilder()
.kind("user")
.limit(100)
.build();
QueryResults<Entity> results = datastore.run(query);
Iterator<Entity> iterator = results.iterateAll();
while (iterator.hasNext()) {
// do something with the entity iterator.next()
} How do you see this? |
@mziccard the |
@clardeur thank you for your input. @mziccard, I think this case is different from the other
I do think a user-level batch size, which the server can use to further constrain its own chunking logic, Even without having a user-configurable batch size, I would expect this not to be an issue after Datastore fixes their bug. Datastore chunking will probably be sufficient in all cases (except maybe for clients that are very memory constraint). @ajkannan's suggestion above is merely a workaround to avoid the Datastore bug until its fixed and without changing the API. Indeed, For now, I suggest that we continue with #549, as it could be used as a workaround, does not effect the API and won't stop us from making any future changes if we choose too. @clardeur Yes, once we move to Java 8 we will likely provide a |
Laving it open at least until the underlying issue is fixed. |
I have tried the workaround and I get an error with the cursor. java.lang.IllegalArgumentException: content is not a valid UTF-8
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:122)
at com.google.gcloud.datastore.Cursor.<init>(Cursor.java:47)
at com.google.gcloud.datastore.QueryResultsImpl.cursorAfter(QueryResultsImpl.java:104) |
Thanks @clardeur Yes, it seems that in this case the content of the cursor bytes is not a valid UTF-8. |
@aozarov ok I hope that this problem will be solved soon by the Datastore team or with this workaround because since the migration to the gcloud-java library this is a blocking point for us. Thanks for your envolvement. |
@ajkannan yes if it works, thanks. |
Sure thing, I will make a release today. Before I do this I want to resolve one more issue related to Datastore queries (#585). Thanks for your patience! |
Update: version 0.1.3 is now pushed and includes a fix for the |
@ajkannan tested and LGTM ;) You can closed it if you want. |
|
Hi , I want to get the total count of entities in a kind in google cloud datastore. When the entities are 5 Million the following code doesnt return the count. private static Datastore datastore; Could you please share insights/alternative? |
This PR was generated using Autosynth. 🌈 <details><summary>Log from Synthtool</summary> ``` 2021-07-14 16:42:18,492 synthtool [DEBUG] > Executing /root/.cache/synthtool/java-resourcemanager/.github/readme/synth.py. On branch autosynth-readme nothing to commit, working tree clean 2021-07-14 16:42:19,731 synthtool [DEBUG] > Wrote metadata to .github/readme/synth.metadata/synth.metadata. ``` </details> Full log will be available here: https://source.cloud.google.com/results/invocations/7ae0af25-3d7f-4e10-b9dd-d33132f3652d/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.)
🤖 I have created a release *beep* *boop* --- ## [0.14.5](googleapis/java-analytics-data@v0.14.4...v0.14.5) (2022-09-08) ### Dependencies * Update dependency com.google.auth:google-auth-library-oauth2-http to v1.11.0 ([#546](googleapis/java-analytics-data#546)) ([48b9f7f](googleapis/java-analytics-data@48b9f7f)) * Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.2 ([#547](googleapis/java-analytics-data#547)) ([84c2dd9](googleapis/java-analytics-data@84c2dd9)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
…cies to v3.0.2 (#548) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `3.0.1` -> `3.0.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.2/compatibility-slim/3.0.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.2/confidence-slim/3.0.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>googleapis/java-shared-dependencies</summary> ### [`v3.0.2`](https://togithub.com/googleapis/java-shared-dependencies/blob/HEAD/CHANGELOG.md#​302-httpsgithubcomgoogleapisjava-shared-dependenciescomparev301v302-2022-09-08) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v3.0.1...v3.0.2) ##### Dependencies - Update dependency com.fasterxml.jackson:jackson-bom to v2.13.4 ([#​789](https://togithub.com/googleapis/java-shared-dependencies/issues/789)) ([6cf91a9](https://togithub.com/googleapis/java-shared-dependencies/commit/6cf91a96b9ea6af0fb845b50582dac7aa2892cab)) - Update dependency com.google.auth:google-auth-library-bom to v1.10.0 ([#​781](https://togithub.com/googleapis/java-shared-dependencies/issues/781)) ([8859e61](https://togithub.com/googleapis/java-shared-dependencies/commit/8859e61808bfc5cd9546e27e945fc855b36d2554)) - Update dependency com.google.auth:google-auth-library-bom to v1.11.0 ([#​790](https://togithub.com/googleapis/java-shared-dependencies/issues/790)) ([3431a47](https://togithub.com/googleapis/java-shared-dependencies/commit/3431a471cbf874a67a4f1a42e31f0ed891dedc92)) - Update dependency com.google.auth:google-auth-library-bom to v1.9.0 ([#​773](https://togithub.com/googleapis/java-shared-dependencies/issues/773)) ([27fc79f](https://togithub.com/googleapis/java-shared-dependencies/commit/27fc79f00ee70011df6a368bb8fcfad7f0ce41f0)) - Update dependency com.google.errorprone:error_prone_annotations to v2.15.0 ([#​776](https://togithub.com/googleapis/java-shared-dependencies/issues/776)) ([bf333b8](https://togithub.com/googleapis/java-shared-dependencies/commit/bf333b8c88072d21cb959db4d3328bbb55d9ef5c)) - Update dependency com.google.protobuf:protobuf-bom to v3.21.5 ([#​780](https://togithub.com/googleapis/java-shared-dependencies/issues/780)) ([da7f44d](https://togithub.com/googleapis/java-shared-dependencies/commit/da7f44d71d6d7f372b5313dab68ce220308614d4)) - Update dependency io.grpc:grpc-bom to v1.48.1 ([#​768](https://togithub.com/googleapis/java-shared-dependencies/issues/768)) ([5c7768d](https://togithub.com/googleapis/java-shared-dependencies/commit/5c7768d3c9665dd356de6c39c0a6a5fa6e992f2e)) - Update dependency io.grpc:grpc-bom to v1.49.0 ([#​786](https://togithub.com/googleapis/java-shared-dependencies/issues/786)) ([8734812](https://togithub.com/googleapis/java-shared-dependencies/commit/8734812f1b4e2faaa48caf41eff59a85892ae344)) - Update dependency org.checkerframework:checker-qual to v3.24.0 ([#​775](https://togithub.com/googleapis/java-shared-dependencies/issues/775)) ([df74b7b](https://togithub.com/googleapis/java-shared-dependencies/commit/df74b7b0dd5dd592523f302d9fb36adb5991cb0b)) - Update dependency org.checkerframework:checker-qual to v3.25.0 ([#​788](https://togithub.com/googleapis/java-shared-dependencies/issues/788)) ([207035b](https://togithub.com/googleapis/java-shared-dependencies/commit/207035bd04c9305899eea540acbefaf06a7b1ec9)) - Update dependency org.threeten:threetenbp to v1.6.1 ([#​782](https://togithub.com/googleapis/java-shared-dependencies/issues/782)) ([0f218ae](https://togithub.com/googleapis/java-shared-dependencies/commit/0f218aeb6aa33cf1da4a8b1d6c82bbf87946dab9)) - Update gax.version to v2.19.0 ([#​785](https://togithub.com/googleapis/java-shared-dependencies/issues/785)) ([4448331](https://togithub.com/googleapis/java-shared-dependencies/commit/4448331c4c6d88ea8076260776d1d47d24aa19fa)) - Update google.core.version to v2.8.10 ([#​787](https://togithub.com/googleapis/java-shared-dependencies/issues/787)) ([3c344d5](https://togithub.com/googleapis/java-shared-dependencies/commit/3c344d515e3b9215db5a1f8ef550d800d974e558)) - Update google.core.version to v2.8.7 ([#​774](https://togithub.com/googleapis/java-shared-dependencies/issues/774)) ([d0cd5e8](https://togithub.com/googleapis/java-shared-dependencies/commit/d0cd5e8f6ca88787fe0dbf7f30c849cb4c4fae5e)) - Update google.core.version to v2.8.8 ([#​777](https://togithub.com/googleapis/java-shared-dependencies/issues/777)) ([f00571c](https://togithub.com/googleapis/java-shared-dependencies/commit/f00571cd1e9f1c4e011fba4a1e1674c1d8d60200)) - Update google.core.version to v2.8.9 ([#​784](https://togithub.com/googleapis/java-shared-dependencies/issues/784)) ([aa8e505](https://togithub.com/googleapis/java-shared-dependencies/commit/aa8e505dbb1214b2239e55d5ac83b00c167d77e4)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-securitycenter-settings). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xOTQuMiIsInVwZGF0ZWRJblZlciI6IjMyLjE5NC4yIn0=-->
🤖 I have created a release *beep* *boop* --- ## [0.6.3](googleapis/java-securitycenter-settings@v0.6.2...v0.6.3) (2022-09-09) ### Dependencies * Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.2 ([#548](googleapis/java-securitycenter-settings#548)) ([7c79668](googleapis/java-securitycenter-settings@7c79668)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
🤖 I have created a release *beep* *boop* --- ## [2.5.5](https://togithub.com/googleapis/java-os-config/compare/v2.5.4...v2.5.5) (2022-10-03) ### Dependencies * Update dependency cachetools to v5 ([#548](https://togithub.com/googleapis/java-os-config/issues/548)) ([7732104](https://togithub.com/googleapis/java-os-config/commit/773210484285e1866623cee124081a660b3d9b46)) * Update dependency certifi to v2022.9.24 ([#528](https://togithub.com/googleapis/java-os-config/issues/528)) ([4f1f127](https://togithub.com/googleapis/java-os-config/commit/4f1f127775897fad569904445e70e575a2ae2bd8)) * Update dependency charset-normalizer to v2.1.1 ([#532](https://togithub.com/googleapis/java-os-config/issues/532)) ([61f841c](https://togithub.com/googleapis/java-os-config/commit/61f841cd29541b17b8074c153668bf15c8150cff)) * Update dependency click to v8.1.3 ([#533](https://togithub.com/googleapis/java-os-config/issues/533)) ([21192b2](https://togithub.com/googleapis/java-os-config/commit/21192b229b95304a1df3ca2916aa8bf8ea44ea42)) * Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.4 ([#552](https://togithub.com/googleapis/java-os-config/issues/552)) ([80f58b0](https://togithub.com/googleapis/java-os-config/commit/80f58b03bbffcf154fdab9825a8d45897eb35e42)) * Update dependency gcp-releasetool to v1.8.8 ([#529](https://togithub.com/googleapis/java-os-config/issues/529)) ([14b3317](https://togithub.com/googleapis/java-os-config/commit/14b33172bfa894ac3ffbe000e0e13ed288467dbc)) * Update dependency google-api-core to v2.10.1 ([#534](https://togithub.com/googleapis/java-os-config/issues/534)) ([c654bc1](https://togithub.com/googleapis/java-os-config/commit/c654bc19fc43d85f9d3eff1dd7ee22e9cdd563a7)) * Update dependency google-cloud-core to v2.3.2 ([#530](https://togithub.com/googleapis/java-os-config/issues/530)) ([cd403a7](https://togithub.com/googleapis/java-os-config/commit/cd403a7f04ba05f98b718895e6542b94e0e18395)) * Update dependency google-cloud-storage to v2.5.0 ([#536](https://togithub.com/googleapis/java-os-config/issues/536)) ([de2e7c5](https://togithub.com/googleapis/java-os-config/commit/de2e7c5d015ab0d58f50974cbe8d0f593337d683)) * Update dependency google-crc32c to v1.5.0 ([#537](https://togithub.com/googleapis/java-os-config/issues/537)) ([41bd424](https://togithub.com/googleapis/java-os-config/commit/41bd424e13b21abfc28075c3768a5a39fc02a50a)) * Update dependency googleapis-common-protos to v1.56.4 ([#531](https://togithub.com/googleapis/java-os-config/issues/531)) ([e489df9](https://togithub.com/googleapis/java-os-config/commit/e489df98196bd89959a4c8d5793e67c2dcd5be3b)) * Update dependency importlib-metadata to v4.12.0 ([#538](https://togithub.com/googleapis/java-os-config/issues/538)) ([bc4dd99](https://togithub.com/googleapis/java-os-config/commit/bc4dd993721044c1269825834b4337718a6f24cc)) * Update dependency jeepney to v0.8.0 ([#539](https://togithub.com/googleapis/java-os-config/issues/539)) ([78e9609](https://togithub.com/googleapis/java-os-config/commit/78e9609086f297282384892980a1ee16c200f389)) * Update dependency jinja2 to v3.1.2 ([#540](https://togithub.com/googleapis/java-os-config/issues/540)) ([fc0b932](https://togithub.com/googleapis/java-os-config/commit/fc0b932fac63a34b16dd4c283c66c3da29bb5ab8)) * Update dependency keyring to v23.9.3 ([#541](https://togithub.com/googleapis/java-os-config/issues/541)) ([c61e086](https://togithub.com/googleapis/java-os-config/commit/c61e08684a016231bc7279fde7b52530cae4c40e)) * Update dependency markupsafe to v2.1.1 ([#542](https://togithub.com/googleapis/java-os-config/issues/542)) ([d175c47](https://togithub.com/googleapis/java-os-config/commit/d175c479184daae2b10cc35d4b7d8103bd3ea2e5)) * Update dependency protobuf to v3.20.2 ([#543](https://togithub.com/googleapis/java-os-config/issues/543)) ([5d1183e](https://togithub.com/googleapis/java-os-config/commit/5d1183e95bc6c91903ec88252095135f5d0d23fe)) * Update dependency protobuf to v4 ([#549](https://togithub.com/googleapis/java-os-config/issues/549)) ([8c65a2d](https://togithub.com/googleapis/java-os-config/commit/8c65a2de5cce879b6edc2a4a492d38375954286a)) * Update dependency pyjwt to v2.5.0 ([#544](https://togithub.com/googleapis/java-os-config/issues/544)) ([0c65d1a](https://togithub.com/googleapis/java-os-config/commit/0c65d1ae23d2dbe1f3b5b3fed0ecfea1b79559b2)) * Update dependency requests to v2.28.1 ([#545](https://togithub.com/googleapis/java-os-config/issues/545)) ([0a603a2](https://togithub.com/googleapis/java-os-config/commit/0a603a226990a201a3fde2d039f254dc093bc44f)) * Update dependency typing-extensions to v4.3.0 ([#546](https://togithub.com/googleapis/java-os-config/issues/546)) ([18a8071](https://togithub.com/googleapis/java-os-config/commit/18a80710aad26e2899fb3b3d76ea7ee77098ecee)) * Update dependency zipp to v3.8.1 ([#547](https://togithub.com/googleapis/java-os-config/issues/547)) ([3b4d187](https://togithub.com/googleapis/java-os-config/commit/3b4d187cc3198fabdb20a2cea578788fb1b17fa2)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
🤖 I have created a release *beep* *boop* --- ## [2.5.1](https://togithub.com/googleapis/java-retail/compare/v2.5.0...v2.5.1) (2022-10-03) ### Bug Fixes * **samples:** Bug fix for removing buckets from bq. ([#548](https://togithub.com/googleapis/java-retail/issues/548)) ([059da48](https://togithub.com/googleapis/java-retail/commit/059da48754191311b56521a4295d677eb3a7fcef)) * **samples:** Bug fix for setup script ([#549](https://togithub.com/googleapis/java-retail/issues/549)) ([b9ba700](https://togithub.com/googleapis/java-retail/commit/b9ba7003234a39569add3294534ac5af8a02fa50)) * **samples:** Lro added out-of-order step. ([#539](https://togithub.com/googleapis/java-retail/issues/539)) ([7913182](https://togithub.com/googleapis/java-retail/commit/7913182491c75c3f1937677da21bb80804e6b26c)) * **samples:** Removed delays on LRO ([#527](https://togithub.com/googleapis/java-retail/issues/527)) ([6c39da2](https://togithub.com/googleapis/java-retail/commit/6c39da291e0d0340ebe81f3f85b79bd1dea45118)) * **samples:** Replaced your-project-id with default. ([#541](https://togithub.com/googleapis/java-retail/issues/541)) ([b09050f](https://togithub.com/googleapis/java-retail/commit/b09050fabe81b8b0b8bcfe17c952bfa0870649c9)) * **samples:** Updating both json files. ([#540](https://togithub.com/googleapis/java-retail/issues/540)) ([0bcae2a](https://togithub.com/googleapis/java-retail/commit/0bcae2afe084f6765c3c51a783174063eb09d7e3)) ### Dependencies * Update dependency cachetools to v5 ([#566](https://togithub.com/googleapis/java-retail/issues/566)) ([44d49b5](https://togithub.com/googleapis/java-retail/commit/44d49b5571eab26fe6e3bd7720e91a2587ed6502)) * Update dependency certifi to v2022.9.24 ([#568](https://togithub.com/googleapis/java-retail/issues/568)) ([cbfb804](https://togithub.com/googleapis/java-retail/commit/cbfb804e99a310eab1231813cd65b8e3d7dafc58)) * Update dependency charset-normalizer to v2.1.1 ([#556](https://togithub.com/googleapis/java-retail/issues/556)) ([0ac7723](https://togithub.com/googleapis/java-retail/commit/0ac7723fae0e65a53116ed6c5be17fc32c7bb8a7)) * Update dependency com.google.cloud:google-cloud-bigquery to v2.16.1 ([#542](https://togithub.com/googleapis/java-retail/issues/542)) ([7815252](https://togithub.com/googleapis/java-retail/commit/7815252c2eaa812fd6ed9903420ec63e027be917)) * Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.4 ([#577](https://togithub.com/googleapis/java-retail/issues/577)) ([2d2998c](https://togithub.com/googleapis/java-retail/commit/2d2998c70f92b1c8c7558f7f4ee7576b6d8ff677)) * Update dependency com.google.cloud:google-cloud-storage to v2.12.0 ([#543](https://togithub.com/googleapis/java-retail/issues/543)) ([4f90a58](https://togithub.com/googleapis/java-retail/commit/4f90a58aeebb015ed93d2c49725085016feba97d)) * Update dependency gcp-releasetool to v1.8.8 ([#569](https://togithub.com/googleapis/java-retail/issues/569)) ([15ca79e](https://togithub.com/googleapis/java-retail/commit/15ca79eb3c1c55c977b09e01eb995fd3e1906715)) * Update dependency google-api-core to v2.10.1 ([#558](https://togithub.com/googleapis/java-retail/issues/558)) ([217a955](https://togithub.com/googleapis/java-retail/commit/217a955111832eb7a0f71fc837da894d5ef0bc46)) * Update dependency google-auth to v2.11.1 ([#570](https://togithub.com/googleapis/java-retail/issues/570)) ([5380a6e](https://togithub.com/googleapis/java-retail/commit/5380a6e2ec881a46d343ef87511a1f91e3ccaae5)) * Update dependency google-cloud-core to v2.3.2 ([#554](https://togithub.com/googleapis/java-retail/issues/554)) ([8061d2c](https://togithub.com/googleapis/java-retail/commit/8061d2c1ad6279815758852afe29db3feabb19eb)) * Update dependency google-cloud-storage to v2.5.0 ([#559](https://togithub.com/googleapis/java-retail/issues/559)) ([e5a9e2e](https://togithub.com/googleapis/java-retail/commit/e5a9e2e4504835f412800395715e06cc29279608)) * Update dependency google-crc32c to v1.5.0 ([#560](https://togithub.com/googleapis/java-retail/issues/560)) ([b1a9b7b](https://togithub.com/googleapis/java-retail/commit/b1a9b7b96148319f157692530fc2bef61535756a)) * Update dependency googleapis-common-protos to v1.56.4 ([#555](https://togithub.com/googleapis/java-retail/issues/555)) ([7ca1cc7](https://togithub.com/googleapis/java-retail/commit/7ca1cc70abccb4914af7df2f679d37a9dba81f8d)) * Update dependency importlib-metadata to v4.12.0 ([#561](https://togithub.com/googleapis/java-retail/issues/561)) ([f492330](https://togithub.com/googleapis/java-retail/commit/f492330dc8f3e4039049c8e015237248177e1d28)) * Update dependency jeepney to v0.8.0 ([#571](https://togithub.com/googleapis/java-retail/issues/571)) ([dcb7b44](https://togithub.com/googleapis/java-retail/commit/dcb7b4430f1dc8767c0bec5028ec591b3b6707b9)) * Update dependency jinja2 to v3.1.2 ([#572](https://togithub.com/googleapis/java-retail/issues/572)) ([0ebba8d](https://togithub.com/googleapis/java-retail/commit/0ebba8d2b5b5d3ced9743d12dccba83a2527dce9)) * Update dependency keyring to v23.9.3 ([#573](https://togithub.com/googleapis/java-retail/issues/573)) ([83b04aa](https://togithub.com/googleapis/java-retail/commit/83b04aa019f83456093ec488b62471d729cf34ca)) * Update dependency markupsafe to v2.1.1 ([#553](https://togithub.com/googleapis/java-retail/issues/553)) ([58570b9](https://togithub.com/googleapis/java-retail/commit/58570b9a1a1658384ac1a719e5b77d62db3f9533)) * Update dependency protobuf to v3.20.2 ([#574](https://togithub.com/googleapis/java-retail/issues/574)) ([3ef6c0c](https://togithub.com/googleapis/java-retail/commit/3ef6c0cfcf5866a661731764ad85c762bb1cb081)) * Update dependency protobuf to v4 ([#567](https://togithub.com/googleapis/java-retail/issues/567)) ([d5fa224](https://togithub.com/googleapis/java-retail/commit/d5fa224128580e2ec42852442da84684ac38852a)) * Update dependency pyjwt to v2.5.0 ([#562](https://togithub.com/googleapis/java-retail/issues/562)) ([845850c](https://togithub.com/googleapis/java-retail/commit/845850cba4cf80c459ebbea37cb61b84f31e5388)) * Update dependency requests to v2.28.1 ([#563](https://togithub.com/googleapis/java-retail/issues/563)) ([759437f](https://togithub.com/googleapis/java-retail/commit/759437f1935995e18a09f5c492cf9b7421f6f8aa)) * Update dependency typing-extensions to v4.3.0 ([#564](https://togithub.com/googleapis/java-retail/issues/564)) ([afac7b9](https://togithub.com/googleapis/java-retail/commit/afac7b95f6f8dae5878cbbc088f23341566689f7)) * Update dependency zipp to v3.8.1 ([#565](https://togithub.com/googleapis/java-retail/issues/565)) ([1456cc4](https://togithub.com/googleapis/java-retail/commit/1456cc4c4e1b49e9b58b9428415e4d4aeb63dc64)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
🤖 I have created a release *beep* *boop* --- ## [1.6.19](https://togithub.com/googleapis/java-iam/compare/v1.6.18...v1.6.19) (2022-11-22) ### Dependencies * Update dependency com.google.cloud:google-iam-policy to v1.6.18 ([#548](https://togithub.com/googleapis/java-iam/issues/548)) ([0038cc1](https://togithub.com/googleapis/java-iam/commit/0038cc1870f69cab34cf47909b4cd482c95c71d7)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
I just want to scroll all entities of a specific kind in a lazy way. I have tried to add a limit but as intended I have only the number of specified results and not the entire dataset.
How to do it ? Did you plan to add a
fetchSize()
parameter ?Without
limit()
I have a DatastoreException: Server returned an error INTERNAL 500The text was updated successfully, but these errors were encountered: