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

Issue when importing json data with a unicode fields

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 7.0.0
    • 6.5.1, 6.6.0, 6.6.1, 6.5.0, 7.0.0-Beta1, Cheshire-Cat
    • tools
    • None
    • Untriaged
    • 1
    • Unknown
    • KV-Engine 2021-March

    Description

      cbimport json -d file:///root/address.json -f list -c localhost -u Administrator -p password -b default -g %address_id% --scope-collection-exp _default._default
      
      

      Some of the documents has location filed as quoted string with unicode characters. Looks like cbimport turning them to binary document (UI shows binary document). This makes indexer not to index.

      Attachments

        1. address.json
          172 kB
        2. cbimport.pcap
          44 kB
        3. cbimport-pcap-screenshot.png
          cbimport-pcap-screenshot.png
          89 kB

        Issue Links

          For Gerrit Dashboard: MB-44776
          # Subject Branch Project Status CR V

          Activity

            People

              isha Isha Kandaswamy (Inactive)
              isha Isha Kandaswamy (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty