Description
If you have a CSV input file that looks like...
id,age,body,index,name
221,19,0000000000,221,221
71,71,0000000000,71,71
553,48,0000000000,553,553
Then...
cbtransfer file.csv stdout:
Will incorrect translate the "0000000000" as a numeric 0 instead of a string of multiple '0' characters.
Attachments
For Gerrit Dashboard: MB-7100 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
22293,1 | MB-7100: added csv-json: sink | master | membase-cli | Status: ABANDONED | +2 | 0 |
22294,1 | MB-7100: CSV import parses 00000 as a string, not as int 0 | master | membase-cli | Status: ABANDONED | +2 | 0 |
24629,1 | MB-7100: added csv-json: sink | 2.0.2 | couchbase-cli | Status: MERGED | +2 | +1 |
24630,1 | MB-7100: CSV import parses 00000 as a string, not as int 0 | 2.0.2 | couchbase-cli | Status: MERGED | +2 | +1 |
24633,1 | MB-7100: Added csv-json sink | 2.0.2 | couchbase-cli | Status: MERGED | +2 | +1 |