You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Kernel] [Refactor] Refactor TestUtils to provide reading APIs using both legacy (Snapshot) and new (ResolvedTable) APIs (delta-io#4676)
## 🥞 Stacked PR
Use this [link](https://github.com/delta-io/delta/pull/4676/files) to
review incremental changes.
-
[**stack/kernel_default_test_read_adapter**](delta-io#4676)
[[Files changed](https://github.com/delta-io/delta/pull/4676/files)]
---------
#### Which Delta project/connector is this regarding?
- [ ] Spark
- [ ] Standalone
- [ ] Flink
- [X] Kernel
- [ ] Other (fill in here)
## Description
As part of the catalogManaged initiative, we are introducing new APIs to
read and write delta tables: `TableManager` and `ResolvedTable` instead
of `Table` and `Snapshot`
As this initiative is ongoing, we want to test both APIs until we are
ready and confident in deprecating the legacy API.
This PR refactors `TestUtils` so that: we can have both `New` and
`Legacy` implementations of it.
We also update `DeltaTableReadsSuite` to show an example of it working.
## How was this patch tested?
Existing UTs.
## Does this PR introduce _any_ user-facing changes?
No.
0 commit comments