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

cbimport key generation unable to access nested field

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 5.5.0
    • tools
    • None
    • Untriaged
    • Unknown

    Description

      The following cbimport statement fails:

      cbimport json -f lines -d file://couchmusic1-countries.json -u Administrator -p password -b couchmusic1 -c localhost -g country::%country.countryCode%

      The reported error is: Key generation for document failed, field with country.countryCode does not exist in document.

      The field country.countryCode does exist for each document in the file (attached).

       

      Attachments

        Issue Links

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

          Activity

            People

              mikew Mike Wiederhold [X] (Inactive)
              leo.schuman Leo Schuman [X] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty