4

I am trying to find the answer to a simple question. Let say I have a table which I store content in it. The content is just a string. I am trying to find what is my max length for this specific one? I was reading that "text" type is just an alias to varchar. Is varchar length only 255 or it can be more?

1 Answer 1

1

You can use TEXT column in your database ( about 64KB characters).

As you know String in java has 2^31-1 characters

2
  • 1
    On Cassandra 2.0.16 I can happily insert a text object of 1MB without any data loss.
    – doughgle
    May 24, 2017 at 9:56
  • What is the limit of TEXT type in Cassandra 3.x?
    – Joseph
    Nov 29, 2020 at 16:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.