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

Remove unused code from the Iceberg module #23944

Merged
merged 1 commit into from
Nov 4, 2024

Conversation

agrawalreetika
Copy link
Member

Description

Remove unused code from the Iceberg module.

Motivation and Context

Found a few variables, methods & classes unused in the presto-iceberg module. Tried to do some clean up as part of this.

Impact

Code cleanup

Test Plan

CI Test Run

Contributor checklist

  • Please make sure your submission complies with our development, formatting, commit message, and attribution guidelines.
  • PR description addresses the issue accurately and concisely. If the change is non-trivial, a GitHub Issue is referenced.
  • Documented new properties (with its default value), SQL syntax, functions, or other functionality.
  • If release notes are required, they follow the release notes guidelines.
  • Adequate tests were added if applicable.
  • CI passed.

Release Notes

== NO RELEASE NOTE ==

ZacBlanco
ZacBlanco previously approved these changes Nov 4, 2024
Comment on lines 122 to 124

// Convert Presto Nested Field to Iceberg NestedField
Types.NestedField nestedField = toIcebergNestedField(prestoNestedField, columnNameToIdMapping("anonymous_row"));
Copy link
Member

Choose a reason for hiding this comment

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

Seems we shouldn't remove this.

@tdcmeehan tdcmeehan self-assigned this Nov 4, 2024
Copy link
Member

@imjalpreet imjalpreet left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

Choose a reason for hiding this comment

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

Unrelated but should we rename this test file as TestIcebergRegisterAndUnregisterTableProcedure.java

@tdcmeehan tdcmeehan merged commit 0e489de into prestodb:master Nov 4, 2024
57 checks passed
@agrawalreetika agrawalreetika deleted the iceberg-cleanup branch November 5, 2024 03:53
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.

5 participants