Description
I think that should add a flag for keys we want to ignore in the import process.
For example:
I've exported a file from bucket X to a json file, using the include-key flag.
./cbexport json -c localhost -u Administrator -p password -b default -f lines -o /home/default.json -t 4 --include-key docKey
Now when I import it back - I don't want to have an extra field in the document named docKey. I wish to use it only of generating the doc ID but not more.
It also useful when interacting with external systems which embed the key into the data file.
Attachments
Issue Links
Activity
Field | Original Value | New Value |
---|---|---|
Component/s | tools [ 10223 ] |
Issue Type | Task [ 3 ] | Improvement [ 4 ] |
Fix Version/s | Mad-Hatter [ 15037 ] |
Assignee | Patrick Varley [ pvarley ] |
Fix Version/s | Alice [ 15048 ] | |
Fix Version/s | Mad-Hatter [ 15037 ] |
Fix Version/s | Mad-Hatter [ 15037 ] | |
Fix Version/s | Alice [ 15048 ] |
Link | This issue blocks CBSE-5548 [ CBSE-5548 ] |
Assignee | Patrick Varley [ pvarley ] | Carlos Gonzalez Betancort [ carlos.gonzalez ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Open [ 1 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Summary | cbimport: should add flag of keys to ignore | cbimport: should add flag of fields to ignore |
Status | In Progress [ 3 ] | Open [ 1 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Actual Start | 2018-10-24 05:02 (issue has been started) |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Resolved [ 5 ] |
Actual End | 2018-11-02 07:42 (issue has been resolved) |
Sprint Status | Current Sprint [ 10027 ] | |
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Resolution | Fixed [ 1 ] | |
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Actual End | 2018-11-02 07:42 | 2018-11-02 08:39 (issue has been resolved) |
Link | This issue blocks CBSE-6327 [ CBSE-6327 ] |
Assignee | Carlos Gonzalez Betancort [ carlos.gonzalez ] | Thuan Nguyen [ thuan ] |
Labels | cbimport | cbimport needs-qe |
Status | Resolved [ 5 ] | Closed [ 6 ] |
forgot to add the import command
./cbimport json -c ubuntu -u Administrator -p password -b targetBucket -d file:///home/people.json -f lines -g %docKey%