Re: How can I add blank values instead of null values in cassandra ?

2019-09-10 Thread Swen Moczarski
When using prepared statements, you could use "unset": https://github.com/datastax/java-driver/blob/4.x/manual/core/statements/prepared/README.md#unset-values That should solve the tombstone problem but might need code changes. Regards, Swen Am Di., 10. Sept. 2019 um 04:50 Uhr schrieb Nitan Kai

Re: How can I add blank values instead of null values in cassandra ?

2019-09-09 Thread Nitan Kainth
You can set default values in driver but that also little code change Regards, Nitan Cell: 510 449 9629 > On Sep 9, 2019, at 8:15 PM, buchi adddagada wrote: > > We are using DSE 5.1.0 & Spring boot Java. > > While we are trying to insert data into cassandra , java by default inserts > null v

How can I add blank values instead of null values in cassandra ?

2019-09-09 Thread buchi adddagada
We are using DSE 5.1.0 & Spring boot Java. While we are trying to insert data into cassandra , java by default inserts null values in cassandra tables which is causing huge tombstones. Instead of changing code in java to insert null values, can you control anywhere at driver level ? Thanks, B