I want to save some pdf files to Cassandra. I'm working on Cassandra in Python. Some answers suggested that I do it using BLOBs. But I'm not quite sure how to do it. The Datastax Documentation for BLOB talks only about data types like int and float. How do I do the same for files, specifically PDFs?
Asked
Active
Viewed 50 times
0
-
https://stackoverflow.com/questions/48285043/storing-pdf-files-as-blobs-in-cassandra-table – danlooo Jun 28 '22 at 11:06
-
Yeah, I've checked it out, it was not of much help. – Tharun Teja Jun 28 '22 at 11:27
1 Answers
1
This question has already been asked and answered in Is it possible to store PDF files in a CQL blob type in Cassandra?.
While it is possible to store binary files in a CQL blob
column, it's not a good idea to do so. For details, see my recommendation in the duplicate question. Cheers!

Erick Ramirez
- 13,964
- 1
- 18
- 23