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

INFER does not work on single element JSON docs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 6.5.0
    • 5.5.0
    • UI
    • Untriaged
    • Unknown

    Description

      Problem

      A document with single JSON element ( raw JSON types) is valid JSON, for example a string or array or a number:

      5
      "raw string"
      ["array","of","raw","values",12345,true]
      true
      

      Unfortunately INFER doesn't handle them and produces an empty schema. 

      Steps to reproduce

      1. Insert a number of single JSON Element documents (ensure that the Data type is set correctly to JSON)
      2. Run INFER

      Attachments

        Issue Links

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

          Activity

            People

              eben Eben Haber
              eben Eben Haber
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty