Re: How can I add blank values instead of null values in cassandra ?
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 Kainth < nitankai...@gmail.com>: > 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 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, > > Buchi Babu > >
Re: How can I add blank values instead of null values in cassandra ?
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 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, > > Buchi Babu
How can I add blank values instead of null values in cassandra ?
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, Buchi Babu