-
Notifications
You must be signed in to change notification settings - Fork 80
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
feat!: Updated API for Iceberg read operations #6268
feat!: Updated API for Iceberg read operations #6268
Conversation
extensions/iceberg/s3/src/test/java/io/deephaven/iceberg/util/IcebergToolsTest.java
Outdated
Show resolved
Hide resolved
extensions/iceberg/src/main/java/io/deephaven/iceberg/util/IcebergReadTable.java
Outdated
Show resolved
Hide resolved
extensions/iceberg/src/main/java/io/deephaven/iceberg/util/IcebergReadOperationsBase.java
Outdated
Show resolved
Hide resolved
extensions/iceberg/src/main/java/io/deephaven/iceberg/util/IcebergTableAdapter.java
Show resolved
Hide resolved
One more thing, the nesting of |
extensions/iceberg/src/main/java/io/deephaven/iceberg/layout/IcebergFlatLayout.java
Outdated
Show resolved
Hide resolved
extensions/iceberg/src/main/java/io/deephaven/iceberg/util/IcebergReadInstructions.java
Show resolved
Hide resolved
extensions/iceberg/src/main/java/io/deephaven/iceberg/util/IcebergTableAdapter.java
Outdated
Show resolved
Hide resolved
extensions/iceberg/src/main/java/io/deephaven/iceberg/util/IcebergTableAdapter.java
Outdated
Show resolved
Hide resolved
extensions/iceberg/src/main/java/io/deephaven/iceberg/util/IcebergTableAdapter.java
Outdated
Show resolved
Hide resolved
extensions/iceberg/src/main/java/io/deephaven/iceberg/util/IcebergTableAdapter.java
Outdated
Show resolved
Hide resolved
extensions/iceberg/src/main/java/io/deephaven/iceberg/util/IcebergTableAdapter.java
Outdated
Show resolved
Hide resolved
extensions/iceberg/src/main/java/io/deephaven/iceberg/util/IcebergTableAdapter.java
Outdated
Show resolved
Hide resolved
extensions/iceberg/src/main/java/io/deephaven/iceberg/util/IcebergTableAdapter.java
Outdated
Show resolved
Hide resolved
|
||
// Load the table from the catalog. | ||
return definition(tableSnapshot, instructions); | ||
private static final class SpecAndSchema { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I might argue that Snapshot
should be represented here rather than a re-written instruction object.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, maybe not. Rewriting might be exactly what we want. @devinrsmith wants to include Schema instructions in these calls so maybe populating the instructions with snapshot now (and Schema later) is the right idea.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Python changes LGTM.
Do we need to tag it as 'breaking' even if it is experimental? Just for release notes purpose?
I tagged it breaking also from Java point of view because we are changing all the iceberg read APIs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Python LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like it. Minor questions/quibbles only.
extensions/iceberg/src/main/java/io/deephaven/iceberg/util/IcebergTableAdapter.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need to follow up right after this with #6124, at least plumbing-wise.
extensions/iceberg/src/main/java/io/deephaven/iceberg/layout/IcebergBaseLayout.java
Outdated
Show resolved
Hide resolved
Labels indicate documentation is required. Issues for documentation have been opened: Community: deephaven/deephaven-docs-community#335 |
BREAKING CHANGES / Documentation Update:
As a follow up to #5707, following are the main changes:
IcebergTableAdaper::definition
,IcebergTableAdaper::definitionTable
, andIcebergTableAdaper::table
to inside IcebergReadInstructions to reduce the overloads.For example,
Before
After