Open msmygit opened 10 months ago
OK, here is a workaround solution to achieving this,
./dsbulk unload -b /path/to/secure-connect-awesome-astra.zip -u token -p "AstraCS:REDACTED" -query "SELECT k,v FROM baselines.map_text_dsbulk" -header false 2> /dev/null | grep '{\\"2\\":.*}' | awk -F, '{ gsub(/[{}]/, "", $2); split($2, a, ":"); gsub(/"/, "", a[1]); gsub(/"/, "", a[2]); print $1 "," a[2] }' | sed 's/\\//g'
2,maddy
Another flavor is here,
./dsbulk unload -b /path/to/secure-connect-awesome-astra.zip -u token -p "AstraCS:REDACTED" -query "SELECT k,v FROM baselines.map_text_dsbulk" -header false 2> /dev/null | grep "{.*2.*}" | awk -F, '{ gsub(/[{}]/, "", $2); split($2, a, ":"); gsub(/"/, "", a[1]); gsub(/"/, "", a[2]); print $1 "," a[2] }' | sed 's/\\//g'
2,maddy
Table
Add data to the table and validate
DSBulk version used
Output when running via CQLSH:
Unload operation executed and error observed
Detailed exception output with
--log.verbosity 2