jyothsnakonisa commented on code in PR #7:
URL: https://github.com/apache/cassandra-analytics/pull/7#discussion_r1235773302


##########
cassandra-analytics-core-example/src/main/java/org/apache/cassandra/spark/example/SampleCassandraJob.java:
##########
@@ -140,6 +141,10 @@ private static Dataset<Row> write(long rowCount, SparkConf 
sparkConf, SQLContext
           .option("local_dc", "datacenter1")
           .option("bulk_writer_cl", "LOCAL_QUORUM")
           .option("number_splits", "-1")
+//          .option(WriterOptions.TTL.name(), TTLOption.constant(20))

Review Comment:
   @yifan-c I left them as comments to leave an example of how to use constant 
Timestamp/ TTL.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to