-
Notifications
You must be signed in to change notification settings - Fork 71
Datafusion aggregate #471
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
Datafusion aggregate #471
Changes from 54 commits
23603de
09c7bdf
9038b85
2d16579
a4aeee5
f6f8061
1b0b6f7
a05138d
ab2aa5a
8eb70bb
d7d86c7
812e85e
e04365b
a28f757
486fc66
f0e1cbb
36909dd
d1ea26a
ce176e0
50d95d2
37a3a61
ffdc42f
fa74aef
37ea6b6
f19ee4d
1eb30c1
2bd1d18
263fdba
95b0dd0
1077da2
653f6a8
f53d24d
78d59f0
84f6b1d
ac6cf3a
1ac78a5
e38d9d2
c3da3e5
d8450b6
a297185
54ddf39
f3c9a5b
9bce14c
c975304
4ca5963
866f815
10f4550
f4cf13d
3e4dcbd
f50d4eb
4483c5e
9936c92
17762cb
8f0ba93
7691bb2
e7690ba
c3b905e
9436f7d
a3b43c0
1fe10f0
f4ad591
bb4d2c3
4cc1450
2251663
d12004d
e81a0c6
9293359
24d057f
e71e476
0728c61
496ba8d
ed330b3
542fc21
fc4d08b
d9cca16
a6030b9
c82c062
a6c3de6
8aad550
04fb814
d6bea9d
e24b77f
f2a1071
f00d498
02f05b5
0e53eab
991cc5a
daa7ee0
3c83833
1f704dd
58c452d
2a9e9a5
92d357b
9fc4fc3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| name: Rust-Datafusion | ||
|
||
|
|
||
| on: | ||
| push: | ||
| pull_request: | ||
|
|
||
| jobs: | ||
| lint: | ||
| name: Lint | ||
| runs-on: ubuntu-latest | ||
| container: | ||
| image: amd64/rust | ||
| steps: | ||
| - uses: actions/checkout@v2 | ||
| - name: Setup toolchain | ||
| run: | | ||
| rustup toolchain install stable | ||
| rustup default stable | ||
| rustup component add rustfmt | ||
| - name: Run | ||
jdye64 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| run: cargo fmt --manifest-path ./dask_planner/Cargo.toml --all -- --check | ||
|
|
||
| clippy: | ||
| name: Clippy | ||
| runs-on: ubuntu-latest | ||
| strategy: | ||
| matrix: | ||
| arch: [amd64] | ||
| rust: [stable] | ||
| container: | ||
| image: ${{ matrix.arch }}/rust | ||
| env: | ||
| # Disable full debug symbol generation to speed up CI build and keep memory down | ||
| # "1" means line tables only, which is useful for panic tracebacks. | ||
| RUSTFLAGS: "-C debuginfo=1" | ||
| steps: | ||
| - uses: actions/checkout@v2 | ||
| with: | ||
| submodules: true | ||
| - name: Setup Rust toolchain | ||
| run: | | ||
| rustup toolchain install ${{ matrix.rust }} | ||
| rustup default ${{ matrix.rust }} | ||
| rustup component add rustfmt clippy | ||
| - name: Run clippy | ||
| run: | | ||
| cargo clippy --manifest-path ./dask_planner/Cargo.toml --all-targets --workspace -- -D warnings | ||
| env: | ||
| CARGO_HOME: "/github/home/.cargo" | ||
| CARGO_TARGET_DIR: "/github/home/target" | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,39 +13,70 @@ jobs: | |
| steps: | ||
| - uses: actions/checkout@v2 | ||
|
|
||
| - name: Parse current axis YAML | ||
| uses: the-coding-turtle/[email protected] | ||
| with: | ||
| file: continuous_integration/gpuci/axis.yaml | ||
|
|
||
| - name: Get latest cuDF nightly version | ||
| id: latest_version | ||
| id: cudf_latest | ||
| uses: jacobtomlinson/[email protected] | ||
| with: | ||
| org: "rapidsai-nightly" | ||
| package: "cudf" | ||
| version_system: "CalVer" | ||
|
|
||
| - name: Strip git tags from versions | ||
| - name: Get latest cuML nightly version | ||
| id: cuml_latest | ||
| uses: jacobtomlinson/[email protected] | ||
| with: | ||
| org: "rapidsai-nightly" | ||
| package: "cuml" | ||
| version_system: "CalVer" | ||
|
|
||
| - name: Get latest UCX-Py nightly version | ||
| id: ucx_py_latest | ||
| uses: jacobtomlinson/[email protected] | ||
| with: | ||
| org: "rapidsai-nightly" | ||
| package: "ucx-py" | ||
| version_system: "CalVer" | ||
|
|
||
| - name: Get old RAPIDS / UCX-Py versions | ||
| env: | ||
| FULL_RAPIDS_VER: ${{ steps.latest_version.outputs.version }} | ||
| run: echo "RAPIDS_VER=${FULL_RAPIDS_VER::-10}" >> $GITHUB_ENV | ||
| FULL_CUDF_VER: ${{ steps.cudf_latest.outputs.version }} | ||
| FULL_CUML_VER: ${{ steps.cuml_latest.outputs.version }} | ||
| FULL_UCX_PY_VER: ${{ steps.ucx_py_latest.outputs.version }} | ||
| run: | | ||
| echo RAPIDS_VER=$RAPIDS_VER_0 >> $GITHUB_ENV | ||
| echo UCX_PY_VER=$(curl -sL https://version.gpuci.io/rapids/$RAPIDS_VER_0) >> $GITHUB_ENV | ||
| echo NEW_CUDF_VER=${FULL_CUDF_VER::-10} >> $GITHUB_ENV | ||
| echo NEW_CUML_VER=${FULL_CUML_VER::-10} >> $GITHUB_ENV | ||
| echo NEW_UCX_PY_VER=${FULL_UCX_PY_VER::-10} >> $GITHUB_ENV | ||
|
|
||
| - name: Find and Replace Release | ||
| uses: jacobtomlinson/gha-find-replace@0.1.4 | ||
| - name: Update RAPIDS version | ||
| uses: jacobtomlinson/gha-find-replace@v2 | ||
| with: | ||
| include: 'continuous_integration\/gpuci\/axis\.yaml' | ||
| find: "RAPIDS_VER:\n- .*" | ||
| replace: |- | ||
| RAPIDS_VER: | ||
| - "${{ env.RAPIDS_VER }}" | ||
| find: "${{ env.RAPIDS_VER }}" | ||
| replace: "${{ env.NEW_CUDF_VER }}" | ||
| regex: false | ||
|
|
||
| - name: Create Pull Request | ||
| uses: peter-evans/create-pull-request@v3 | ||
| # make sure ucx-py nightlies are available and that cuDF/cuML nightly versions match up | ||
| if: | | ||
| env.UCX_PY_VER != env.NEW_UCX_PY_VER && | ||
| env.NEW_CUDF_VER == env.NEW_CUML_VER | ||
| with: | ||
| token: ${{ secrets.GITHUB_TOKEN }} | ||
| draft: true | ||
| commit-message: "Update gpuCI `RAPIDS_VER` to `${{ env.RAPIDS_VER }}`" | ||
| title: "Update gpuCI `RAPIDS_VER` to `${{ env.RAPIDS_VER }}`" | ||
| commit-message: "Update gpuCI `RAPIDS_VER` to `${{ env.NEW_CUDF_VER }}`" | ||
| title: "Update gpuCI `RAPIDS_VER` to `${{ env.NEW_CUDF_VER }}`" | ||
| team-reviewers: "dask/gpu" | ||
| author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | ||
| branch: "upgrade-gpuci-rapids" | ||
| body: | | ||
| A new cuDF nightly version has been detected. | ||
| New cuDF and ucx-py nightly versions have been detected. | ||
|
|
||
| Updated `axis.yaml` to use `${{ env.RAPIDS_VER }}`. | ||
| Updated `axis.yaml` to use `${{ env.NEW_CUDF_VER }}`. | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,5 @@ | ||
| recursive-include dask_sql *.yaml | ||
| recursive-include dask_planner * | ||
|
|
||
| include versioneer.py | ||
| include dask_sql/_version.py |
Uh oh!
There was an error while loading. Please reload this page.