Skip to content

SPARKC-712: Update metrics for read and writes via DSV2#1369

Open
siadat wants to merge 5 commits into
apache:trunkfrom
siadat:SPARKC-712
Open

SPARKC-712: Update metrics for read and writes via DSV2#1369
siadat wants to merge 5 commits into
apache:trunkfrom
siadat:SPARKC-712

Conversation

@siadat

@siadat siadat commented Jul 30, 2024

Copy link
Copy Markdown

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:

@siadat
siadat marked this pull request as ready for review September 2, 2024 10:19
@siadat

siadat commented Sep 11, 2024

Copy link
Copy Markdown
Author

Hi @jacek-lewandowski Sorry for tagging, I was wondering if I could get your review on this PR. Thanks.

Comment on lines +1 to +5
/*
* Copyright DataStax, Inc.
*
* Please see the included license file for details.
*/

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this now needs to be the Apache License header, like other files.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the review. I updated the header. Also rebased the branch.

@michaelsembwever

Copy link
Copy Markdown
Member

The GHA checks didn't run… guessing we have a failure in .github/workflows/main.yml

@siadat
siadat requested a review from michaelsembwever June 17, 2025 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants