skoppu22 commented on code in PR #169:
URL: 
https://github.com/apache/cassandra-analytics/pull/169#discussion_r2990515595


##########
cassandra-analytics-core/src/main/java/org/apache/cassandra/spark/bulkwriter/CassandraBulkWriterContext.java:
##########
@@ -56,9 +58,21 @@ protected CassandraBulkWriterContext(@NotNull 
BulkWriterConfig config)
     }
 
     @Override
-    protected ClusterInfo buildClusterInfo()
+    protected String getLowestCassandraVersion(@NotNull BulkSparkConf conf)
     {
-        return new CassandraClusterInfo(bulkSparkConf());
+        return CassandraClusterInfo.getLowestCassandraVersion(conf, null);
+    }
+
+    @Override
+    protected Set<String> getSSTableVersionsOnCluster(@NotNull BulkSparkConf 
conf)
+    {
+        return CassandraClusterInfo.getSSTableVersionsOnCluster(conf, null);
+    }
+
+    @Override
+    protected ClusterInfo buildClusterInfo(CassandraVersion bridgeVersion)
+    {
+        return new CassandraClusterInfo(bulkSparkConf(), bridgeVersion);

Review Comment:
   Looking into the possibility, seems difficult as we need to build context 
once and store somewhere to reuse it.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to