-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FEAT] Iceberg MOR for streaming parquet (#2975)
This PR implements iceberg MOR for streaming parquet reads. Notes: - Since reading iceberg delete files is a bulk operation, the native executor will use the `read_parquet_bulk` function to read them. However the native executor is already running in a Tokio runtime, so it needs to run `read_parquet_bulk` in the IO pool. This PR refactors the `read_parquet_bulk` method such that it can be ran in this manner. --------- Co-authored-by: Colin Ho <[email protected]> Co-authored-by: Colin Ho <[email protected]>
- Loading branch information
1 parent
c694c9e
commit fe10f8c
Showing
6 changed files
with
243 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -468,6 +468,10 @@ jobs: | |
matrix: | ||
python-version: ['3.8'] # can't use 3.7 due to requiring anon mode for adlfs | ||
daft-runner: [py, ray] | ||
enable-native-executor: [0, 1] | ||
exclude: | ||
- daft-runner: ray | ||
enable-native-executor: 1 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
|
@@ -513,6 +517,7 @@ jobs: | |
pytest tests/integration/iceberg -m 'integration' --durations=50 | ||
env: | ||
DAFT_RUNNER: ${{ matrix.daft-runner }} | ||
DAFT_ENABLE_NATIVE_EXECUTOR: ${{ matrix.enable-native-executor }} | ||
- name: Send Slack notification on failure | ||
uses: slackapi/[email protected] | ||
if: ${{ failure() && (github.ref == 'refs/heads/main') }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.