Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-54181

[CX] Consider duplicate fields

    XMLWordPrintable

Details

    • Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Morpheus
    • Morpheus
    • analytics
    • 1

    Description

      When parsing JSON documents with duplicate fields, e.g.

      { "name": "Bob", "name": "Joe" }
      

      during ingestion Analytics currently rejects such documents and reports that the documents cannot be parsed. In other parts of the platform such objects are accepted, either because

      • duplicate fields are removed (e.g. in the query service) or because
      • there is no validation of such JSON objects.

      Instead of rejecting such documents, we could consider accepting them (and possibly "correcting" them by removing additional fields) and report a warning that describes the modification.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          There are no comments yet on this issue.

          People

            mike.carey Mike Carey
            till Till Westmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty