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] Add Snapshot::getTimestamp public API #3791

Conversation

scottsand-db
Copy link
Collaborator

Which Delta project/connector is this regarding?

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

Description

Add a new Snapshot::getTimestamp public API.

How was this patch tested?

N/A. Trivial.

Does this PR introduce any user-facing changes?

Yes. Adds a new Snapshot::getTimestamp public API.

// Internal APIs //
///////////////////

public Path getLogPath() {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

  1. put all getters at the top of internal APIs, with more complicated internal APIs below
  2. re-ordered these getters to match the order of member field declarations

@scottsand-db scottsand-db requested review from allisonport-db and vkorukanti and removed request for allisonport-db October 22, 2024 21:45
public Metadata getMetadata() {
return metadata;
///////////////////
// Internal APIs //
Copy link
Contributor

Choose a reason for hiding this comment

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

This comment seems misleading. Even if this line says "Internal", 3rd party developers may call the subsequent method as they are public.

@scottsand-db scottsand-db force-pushed the delta_kernel_snapshot_timestamp_public_api branch from 20fe147 to 6f6883c Compare December 3, 2024 20:46
@scottsand-db scottsand-db added this to the 3.3.0 milestone Dec 3, 2024
@scottsand-db scottsand-db force-pushed the delta_kernel_snapshot_timestamp_public_api branch from 1cffcea to 5ac4bc2 Compare December 4, 2024 16:57
@scottsand-db scottsand-db merged commit a52578b into delta-io:master Dec 4, 2024
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants