Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-8581

Doc says "key-generator" is mandatory

    XMLWordPrintable

Details

    Description

      Doc says "key-generator" is optional however if we fire cbimport without key generator, it throws an error:

      [root@host1 tmp]# /opt/couchbase/bin/cbimport json -c couchbase://127.0.0.1 -u Administrator -p password -b default -d file:///tmp/testdata.json -f lines -t 4
      JSON import failed: Key generator contains an empty expression

      Reporter: Pratik Mehta
      E-mail: pratik.mehta@mobileum.com

      Attachments

        Issue Links

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

          Activity

            Build couchbase-server-7.1.0-1015 contains backup commit d056637 with commit message:
            DOC-8581 The '--generate-key' flag is required for cbimport csv

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.1.0-1015 contains backup commit d056637 with commit message: DOC-8581 The '--generate-key' flag is required for cbimport csv

            Build couchbase-server-7.1.0-1015 contains backup commit 18c40ff with commit message:
            DOC-8581 Merge branch 'alice' into 6.5.x-docs

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.1.0-1015 contains backup commit 18c40ff with commit message: DOC-8581 Merge branch 'alice' into 6.5.x-docs

            Build couchbase-server-7.1.0-1015 contains backup commit e8471eb with commit message:
            DOC-8581 Merge branch '6.5.x-docs' into 6.5.2

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.1.0-1015 contains backup commit e8471eb with commit message: DOC-8581 Merge branch '6.5.x-docs' into 6.5.2

            Build couchbase-server-7.1.0-1015 contains backup commit d1fcc64 with commit message:
            DOC-8581 Merge branch '6.5.2' into mad-hatter

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.1.0-1015 contains backup commit d1fcc64 with commit message: DOC-8581 Merge branch '6.5.2' into mad-hatter

            Build couchbase-server-7.1.0-1015 contains backup commit b843ca6 with commit message:
            DOC-8581 Merge branch 'mad-hatter' into cheshire-cat

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.1.0-1015 contains backup commit b843ca6 with commit message: DOC-8581 Merge branch 'mad-hatter' into cheshire-cat

            People

              james.lee James Lee
              docsite-collector Docs Site Collector
              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