-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FEAT] [New Query Planner] All functional tests pass + add to CI. (#1274
) This PR ensures that all functional tests pass for the new query planner and adds the new query planner to the CI job matrix; all tests are covered and pass except for the Python query planner optimization tests. The `use_new_planner` test fixture is removed, since `DAFT_NEW_QUERY_PLANNER=1 make test` will now work with expected test coverage.
- Loading branch information
1 parent
a03aaef
commit a4329f1
Showing
36 changed files
with
211 additions
and
200 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 |
---|---|---|
|
@@ -21,6 +21,7 @@ jobs: | |
matrix: | ||
python-version: ['3.7', '3.10'] | ||
daft-runner: [py, ray] | ||
new-query-planner: [1, 0] | ||
pyarrow-version: [6.0.1, 12.0] | ||
exclude: | ||
- daft-runner: ray | ||
|
@@ -74,6 +75,7 @@ jobs: | |
# cargo llvm-cov --no-run --lcov --output-path report-output/rust-coverage-${{ runner.os }}-${{ matrix.python-version }}-${{ matrix.daft-runner }}.lcov | ||
env: | ||
DAFT_RUNNER: ${{ matrix.daft-runner }} | ||
DAFT_NEW_QUERY_PLANNER: ${{ matrix.new-query-planner }} | ||
|
||
- name: Upload coverage report | ||
uses: actions/upload-artifact@v3 | ||
|
@@ -149,6 +151,7 @@ jobs: | |
matrix: | ||
python-version: ['3.7'] | ||
daft-runner: [py, ray] | ||
new-query-planner: [1, 0] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
|
@@ -183,6 +186,7 @@ jobs: | |
pytest tests/integration/test_tpch.py --durations=50 | ||
env: | ||
DAFT_RUNNER: ${{ matrix.daft-runner }} | ||
DAFT_NEW_QUERY_PLANNER: ${{ matrix.new-query-planner }} | ||
- name: Send Slack notification on failure | ||
uses: slackapi/[email protected] | ||
if: ${{ failure() && (github.ref == 'refs/heads/main') }} | ||
|
@@ -215,6 +219,7 @@ jobs: | |
matrix: | ||
python-version: ['3.8'] # can't use 3.7 due to requiring anon mode for adlfs | ||
daft-runner: [py, ray] | ||
new-query-planner: [1, 0] | ||
# These permissions are needed to interact with GitHub's OIDC Token endpoint. | ||
# This is used in the step "Assume GitHub Actions AWS Credentials" | ||
permissions: | ||
|
@@ -263,6 +268,7 @@ jobs: | |
pytest tests/integration/io -m 'integration' --durations=50 | ||
env: | ||
DAFT_RUNNER: ${{ matrix.daft-runner }} | ||
DAFT_NEW_QUERY_PLANNER: ${{ matrix.new-query-planner }} | ||
- 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
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
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.