spark-cassandra-connector
spark-cassandra-connector copied to clipboard
SPARKC-712: Update metrics for read and writes via DSV2
Description
How did the Spark Cassandra Connector Work or Not Work Before this Patch
Metrics are not updated for read and writes performed via DSV2. The values returned are all 0s.
General Design of the patch
InputMetricsUpdater and OutputMetricsUpdater are used in the DSV2 read (including joins and counts) and write paths.
Fixes: SPARKC-712
How Has This Been Tested?
A couple of integration tests were added.
Checklist:
- [x] I have a ticket in the OSS JIRA: https://datastax-oss.atlassian.net/browse/SPARKC-712
- [x] I have performed a self-review of my own code
- [x] Locally all tests pass (make sure tests fail without your patch)
Hi @jacek-lewandowski Sorry for tagging, I was wondering if I could get your review on this PR. Thanks.
The GHA checks didn't run… guessing we have a failure in .github/workflows/main.yml…