I have these String values in Cassanrda
select snapshot from qa;
produces
[{"rowKey":"6bdc3c1d-d21a-43e3-aa84-baeeda601bb3",xxxx,"lastUserAssertionDate":""}]
[{"rowKey":"6bdc3c1d-d21a-43e3-aa84-baeeda601bb3",xxxx,"lastUserAssertionDate":"2021-04-21T03:05:55Z"}]
Now I used COPY qa (snapshot) TO '/data/tmp/ak1simple.csv' with DELIMITER='|' and header=true;
to export data into csv:
Then the exported data looks like this
snapshot
[{\"rowKey\":\"6bdc3c1d-d21a-43e3-aa84-baeeda601bb3\", xxxx, \"lastUserAssertionDate\":\"\"}]
"[{\"rowKey\":\"6bdc3c1d-d21a-43e3-aa84-baeeda601bb3\",xxxx ,\"lastUserAssertionDate\":\"2021-04-21T03:05:55Z\"}]"
The second String is wrapped with "" but the first not, although both of them have no surrouding "" in Cassandra.
Anyone got an indea on this?