I am not able to push my csv file which is in blob storage to Azure Cosmos DB for Apache Cassandra
I haven’t tried anything yet, I am not able to find any proper material
I am not able to push my csv file which is in blob storage to Azure Cosmos DB for Apache Cassandra
I haven’t tried anything yet, I am not able to find any proper material
2
Answers
The CQL
blob
type is designed for storing small images or a short string since our general recommendation is to limit the blob size to less than 1MB.For this reason we don’t recommend that you store files in Cassandra. Instead, continue using the blob storage and only save the metadata such as the blob URL in Cassandra. Cheers!
To load data from a CSV file into Cassandra, you have two options. There’s DSBulk or the cqlsh
COPY
command.From within cqlsh:
You can download DSBulk from here: https://downloads.datastax.com/#bulk-loader
Either one should work, but with an 8GB file, I’d kind of lean toward DSBulk.