Hello guys, is there any length limit to the string data type. My data is getting truncated. Is there some table config I am supposed to be using? Thanks
m
Mayank
02/07/2022, 4:48 PM
It defaults to 512 bytes. You can override it in the schema. You want to also check json / text index depending on how you plan to query it.
s
Sheetal
02/07/2022, 6:03 PM
Thanks
s
Sidd
02/08/2022, 1:28 AM
@User@User , 512 is in terms of number of characters
m
Mayank
02/08/2022, 1:30 AM
Thanks for clarifying @User, yes, I meant to say length of string, not bytes.