I am trying to load data into aerospike using aerospike-loader(GitHub - aerospike/aerospike-loader: Aerospike Data Loader)
Is there any way to append the data to the bin if key already exists
Eg data.tsv
set:userid:segment
set1:1b35d70d3:abc,def
set1:1b35d70d3:pqr,mno
template.json
{
"version" : "1.0",
"input_type": "csv",
"csv_style": {
"delimiter": ":",
"n_columns_datafile": 3,
"ignore_first_line": true
},
"key": {
"column_name": "userid",
"type": "string"
},
"set": {
"column_name": "set",
"type" : "string"
},
"binlist": [
{
"name": "segment",
"value": {
"column_name": "segment",
"type": "list"
}
}
]
}
command
./run_loader -h <hostname> -n <namespave> -wa update -c template.json data.tsv
The output I am getting is
set1:1b35d70d3:pqr,mno
Output which I want
set1:1b35d70d3:abc,def,pqr,mno
Please Help