Joining streaming data on table data and update the table as the stream receives , is it possible?
问题 I am using spark-sql 2.4.1 , spark-cassandra-connector_2.11-2.4.1.jar and java8. I have scenario , where I need join streaming data with C*/Cassandra table data. If record/join found I need to copy the existing C* table record to another table_bkp and update the actual C* table record with latest data. As the streaming data come in I need to perform this. Is this can be done using spark-sql steaming ? If so , how to do it ? any caveats to take care ? For each batch how to get C* table data