0

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?

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

1 Answers1

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