GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Support multiple types of composite filters · Issue #122 · googleapis/google-cloud-python

Support multiple types of composite filters #122

New issue
Copy link
New issue
Copy link
Closed
Closed
Support multiple types of composite filters#122
Copy link
Assignees
silvolu
Labels
api: datastoreIssues related to the Datastore API.type: questionRequest for information or clarification. Not an issue.

Description

@pcostell
pcostell
opened on Aug 5, 2014
Issue body actions

Right now Datastore doesn't natively support OR filters, however it is a feature we'd like to support. When switching from GAE Datastore to Cloud Datastore filters were explicitly changed from being represented as a list to a more hierarchical model to support this. There should be a plan in place for how to expose this, since now filters are assumed to be AND'ed together.

Activity

Next
  1. tseaver
    added
    api: datastoreIssues related to the Datastore API.
    type: questionRequest for information or clarification. Not an issue.
    on Sep 22, 2014
  2. tseaver commented on Sep 22, 2014

    @tseaver
    tseaver
    on Sep 22, 2014
    Contributor
    More actions

    The generated 'datastore_v1_pb2' protobuf module doesn't have any other values than 'AND' for the 'CompositeFilter.Operator' enum type:

    https://github.com/GoogleCloudPlatform/gcloud-python/blob/58f08fa3826ad52a3318e9d375f66917efced36b/setup.py#L18

    nor does the upstream protobuf spec:

    https://github.com/GoogleCloudPlatform/google-cloud-datastore/blob/6073e01540264db58ee50c30a1e9f006677eb794/proto/datastore_v1.proto#L286

    Wouldn't we need the server-side folks to update the API to support such filters before we could do anything about it in the Python wrapper?

  3. pcostell commented on Sep 22, 2014

    @pcostell
    pcostell
    on Sep 22, 2014
    ContributorAuthor
    More actions

    Yes the server doesn't currently support anything besides AND. However as is the API has all filters listed sequentially q.filter('a =', 1).filter('b =', 2). Once other filters are implemented server-side, this API will have to be deprecated in order to support different types of filters.

  4. silvolu
    added this to the This milestone has been deleted milestone on Sep 24, 2014
  5. jgeewax
    changed the title [-]datastore: supporting multiple types of composite filters[/-] [+]Support multiple types of composite filters[/+] on Oct 7, 2014
  6. tseaver commented on Oct 17, 2014

    @tseaver
    tseaver
    on Oct 17, 2014
    Contributor
    More actions

    @silvolu, given that we can't implement this until the server API spec is updated, should the be an M1 issue?

  7. silvolu commented on Oct 17, 2014

    @silvolu
    silvolu
    on Oct 17, 2014
    Contributor
    More actions

    No, I'm actually closing this issue. I added to M1 because I wanted to think about if we wanted to change something in the current design before releasing M1, but I think that deprecating if needed will be fine.

  8. silvolu
    closed this as completedon Oct 17, 2014
  9. jgeewax
    modified the milestones: This milestone has been deleted, This milestone has been deleted on Jan 30, 2015
  10. JustinBeckwith
    assigned
    silvolu
    on Feb 1, 2021
  11. parthea
    added a commit that references this issue on May 31, 2023

    chore: use gapic-generator-python 0.63.4 (#122)

    2efae3a
  12. 81 remaining items

  13. parthea
    added 2 commits that reference this issue on Jan 10, 2025

    chore: remove pb2 file generation during post processing step (#122)

    19b8dd1

    chore: use gapic-generator-python 0.63.4 (#122)

    547e02c
  14. parthea
    added 8 commits that reference this issue on Nov 24, 2025

    chore: update doc links from googleapis.dev to cloud.google.com (#122)

    ef36ec1

    chore: rename rst files to avoid conflict with service names (#122)

    af5d68c

    chore: release 1.10.0-dev1 (#122)

    6e57ef0

    chore: add constraints file (#122)

    ccb12a9

    chore: release 0.34.0 (#122)

    d5e975f

    build(deps): bump cryptography from 39.0.1 to 41.0.0 in /synthtool/gc…

    c1f0627

    feat: asyncio microgen batch (#122)

    6347260

    Backwards compatibility with older style structured properties. (#126)

    f8d2bee
  15. parthea
    added 4 commits that reference this issue on Mar 2, 2026

    chore(deps): update pypa/cibuildwheel action to v2.3.1 (#122)

    a07ab64

    django: disable supports_column_check_constraints and supports_table_…

    cf201de

    feat: add *generation*match args into Blob.compose() (#122)

    fca9b1d

    fix: resume iterator on EOS internal error (#122)

    96c272f
  16. ohmayr
    added a commit that references this issue on Mar 31, 2026

    chore(deps): update pypa/cibuildwheel action to v2.3.1 (#122)

    ebbc2e2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @silvolu
    silvolu

Labels

api: datastoreIssues related to the Datastore API.type: questionRequest for information or clarification. Not an issue.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.