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