Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Kernel][Metrics][PR#1] Adds initial interfaces and a Timer class #3902

Merged
merged 4 commits into from
Dec 4, 2024

Conversation

allisonport-db
Copy link
Collaborator

@allisonport-db allisonport-db commented Nov 26, 2024

Which Delta project/connector is this regarding?

  • Spark
  • Standalone
  • Flink
  • Kernel
  • Other (fill in here)

Description

Adds the initial interfaces for #3905 as well as a Timer class that will be used in follow-up PRs.

How was this patch tested?

Just interface changes.

Does this PR introduce any user-facing changes?

No.

@allisonport-db allisonport-db changed the title Initial interfaces & Timer class [Kernel][Metrics][PR#1] Adds initial interfaces and a Timer class Nov 26, 2024
Copy link
Collaborator

@scottsand-db scottsand-db left a comment

Choose a reason for hiding this comment

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

Looks great! Asked some questions.

import java.util.UUID;

/** Defines the common fields that are shared by reports for Delta operations */
public interface DeltaOperationReport extends MetricsReport {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Will MetricsReporter::report ever be called with a different type of MetricsReport that is not a DeltaOperationReport?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes in the future possibly. We want MetricsReport to be completely generic so we can push anything we want as part of the interface.

Copy link
Collaborator

@scottsand-db scottsand-db left a comment

Choose a reason for hiding this comment

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

LGTM!

@allisonport-db allisonport-db merged commit 82c2f64 into delta-io:master Dec 4, 2024
19 checks passed
allisonport-db added a commit to allisonport-db/delta that referenced this pull request Dec 11, 2024
allisonport-db added a commit to allisonport-db/delta that referenced this pull request Dec 11, 2024
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