Details
-
Bug
-
Resolution: Fixed
-
None
-
*Location*: https://docs.couchbase.com/server/6.0/tools/cbimport-json.html
*Referrer*: https://docs.couchbase.com/server/current/tools/cbimport-json.html
*User-Agent*: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36
*Screen Resolution*: 1366 x 768*Location*: https://docs.couchbase.com/server/6.0/tools/cbimport-json.html *Referrer*: https://docs.couchbase.com/server/current/tools/cbimport-json.html *User-Agent*: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36 *Screen Resolution*: 1366 x 768
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
- is duplicated by
-
DOC-8310 -g flag is in the optional section in the doc, but running it on command line says otherwise
-
- Closed
-
-
DOC-7329 cbimport JSON/CSV -generate-key flag is in the optional section
-
- Closed
-
- relates to
-
MB-46849 cbimport should return a more informative error when an empty key-gen expression is supplied
-
- Closed
-
For Gerrit Dashboard: DOC-8581 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
155526,2 | DOC-8581 The '--generate-key' flag is required for cbimport csv | alice | backup | Status: MERGED | +2 | +1 |
155547,3 | DOC-8581 Merge branch 'alice' into 6.5.x-docs | 6.5.x-docs | backup | Status: MERGED | +2 | +1 |
155591,2 | DOC-8581 Merge branch '6.5.x-docs' into 6.5.2 | 6.5.2 | backup | Status: MERGED | +2 | +1 |
155602,1 | DOC-8581 Merge branch '6.5.2' into mad-hatter | mad-hatter | backup | Status: MERGED | +2 | +1 |
155605,1 | DOC-8581 Merge branch 'mad-hatter' into cheshire-cat | cheshire-cat | backup | Status: MERGED | +2 | +1 |
155617,1 | Merge branch 'cheshire-cat' into master | master | backup | Status: MERGED | +2 | +1 |