Uploaded image for project: 'Couchbase Python Client Library'
  1. Couchbase Python Client Library
  2. PYCBC-1538

Get should not fail with InvalidArgumentException when projecting on more than 16 fields

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 4.1.9
    • None
    • None
    • None
    • 1
    • SDK44

    Description

      Imposing a limit of 16 is not consistent with the RFC:

      A new feature of Get is to allow "projections" of document fragments for a given path. Based on Sub-Doc API, the maximum number of fields that can be projected is 16. Once the 16 field limit is reached, the entire document will be fetched using the standard Get command.

      This should be an easy fix (just removing the check for the number of projections). C++ already has the functionality to fall back to the full document fetch.

      Attachments

        For Gerrit Dashboard: PYCBC-1538
        # Subject Branch Project Status CR V

        Activity

          People

            Dimitris.Christodoulou Dimitris Christodoulou
            Dimitris.Christodoulou Dimitris Christodoulou
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty