Hi,
Using the command
val table = spark
.read
.format("org.apache.spark.sql.cassandra")
.options(Map( "table" -> "A", "keyspace" -> "B"))
.load
someone can load whole table data into a dataframe. Instead, I want to run a query in Cassandra and load just the result in dataframe (not whole table).
Is it possible in spark?