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

Upgrade Delta Kernel dependency from 3.1.0 to 3.2.0 #16513

Merged
merged 2 commits into from
May 29, 2024

Conversation

abhishekrb19
Copy link
Contributor

@abhishekrb19 abhishekrb19 commented May 29, 2024

Delta 3.2.0 released recently: https://github.com/delta-io/delta/releases/tag/v3.2.0

  • Upgrade the Delta Kernel dependency to 3.2.0.
  • Notable breaking changes introduced in the upstream that affect the Druid extension:
    • Rename TableClient to Engine.
    • Rename DefaultTableClient to DefaultEngine.
    • Table.getPath() no longer throws a TableNotFoundException; instead, the exception is thrown when getting snapshot info from the Table object.
    • Exceptions moved to a separate package.

Note that none of the above breaking changes are user-facing.

The upstream 3.2.0 release includes a new feature to read arbitrary snapshots. Currently, the Druid extension only supports reading the latest snapshots, which is a documented limitation. We can remove the limitation once we add support for that in this extension.


This PR has:

  • been self-reviewed.
  • added documentation for new or modified features or behaviors.
  • a release note entry in the PR description.
  • added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
  • added or updated version, license, or notice information in licenses.yaml
  • added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
  • added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
  • added integration tests.
  • been tested in a test Druid cluster.

Upstream release: https://github.com/delta-io/delta/releases/tag/v3.2.0

- Upgrade kernel dependency to 3.2.0
- Notable breaking changes introduced in upstream that affects the Druid extension:
 - Rename TableClient -> Engine
 - Rename DefaultTableClient -> DefaultEngine
 - Exceptions moved to a separate package
 - Table.getPath() doesn't throw TableNotFoundException. Instead the exception is thrown
   when getting snapshot info from the Table object
@abhishekrb19 abhishekrb19 changed the title Upgrade delta kernel from 3.1.0 to 3.2.0 Upgrade Delta Kernel dependency from 3.1.0 to 3.2.0 May 29, 2024
Copy link
Contributor

@LakshSingla LakshSingla left a comment

Choose a reason for hiding this comment

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

Thanks for the upgrade!

@abhishekrb19 abhishekrb19 merged commit 75937c9 into apache:master May 29, 2024
55 checks passed
@abhishekrb19 abhishekrb19 deleted the upgrade_delta_3.2.0 branch May 29, 2024 17:46
sanghanan pushed a commit to sanghanan/druid that referenced this pull request Aug 1, 2024
Upstream release: https://github.com/delta-io/delta/releases/tag/v3.2.0

- Upgrade kernel dependency to 3.2.0
- Notable breaking changes introduced in upstream that affects the Druid extension:
 - Rename TableClient -> Engine
 - Rename DefaultTableClient -> DefaultEngine
 - Exceptions moved to a separate package
 - Table.getPath() doesn't throw TableNotFoundException. Instead the exception is thrown
   when getting snapshot info from the Table object
@kfaraz kfaraz added this to the 31.0.0 milestone Oct 4, 2024
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.

3 participants