jberragan commented on code in PR #102: URL: https://github.com/apache/cassandra-analytics/pull/102#discussion_r1993917649
########## cassandra-four-zero-types/build.gradle: ########## @@ -33,6 +33,7 @@ dependencies { compileOnly project(":cassandra-analytics-common") compileOnly(project(path: ':cassandra-four-zero', configuration: 'shadow')) compileOnly "com.esotericsoftware:kryo-shaded:${kryoVersion}" + compileOnly(group: "${sparkGroupId}", name: "spark-core_${scalaMajorVersion}", version: "${project.rootProject.sparkVersion}") Review Comment: Could you convert it into a an intermediate JDK type from `Duration`? Even if it's a simple wrapper like: ``` public class DurationWrapper { public int months; public int days; public long microseconds; } ``` And then convert `DurationWrapper ` to `CalendarInterval` in `SparkDuration`? It just means we can consume Duration without the Spark dependency (and in CDC). -- 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