-
Notifications
You must be signed in to change notification settings - Fork 605
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(dask): remove the dask backend
BREAKING CHANGE: The `dask` backend is removed. Please use one of the other backends that Ibis supports.
- Loading branch information
Showing
64 changed files
with
124 additions
and
5,407 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
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 |
---|---|---|
|
@@ -233,13 +233,6 @@ jobs: | |
services: | ||
- flink | ||
include: | ||
- os: ubuntu-latest | ||
python-version: "3.11.8" | ||
backend: | ||
name: dask | ||
title: Dask | ||
extras: | ||
- dask | ||
- os: ubuntu-latest | ||
python-version: "3.11" | ||
backend: | ||
|
@@ -531,17 +524,6 @@ jobs: | |
- "3.10" | ||
- "3.12" | ||
backend: | ||
- name: dask | ||
title: Dask | ||
deps: | ||
required: | ||
- "[email protected]" | ||
- "[email protected]" | ||
optional: | ||
- "dask[array,dataframe]@2022.9.1" | ||
- "[email protected]" | ||
extras: | ||
- dask | ||
- name: postgres | ||
title: PostgreSQL | ||
deps: | ||
|
@@ -592,19 +574,6 @@ jobs: | |
extras: | ||
- postgres | ||
- geospatial | ||
- python-version: "3.12" | ||
backend: | ||
name: dask | ||
title: Dask | ||
deps: | ||
required: | ||
- "[email protected]" | ||
- "[email protected]" | ||
optional: | ||
- "dask[array,dataframe]@2022.9.1" | ||
- "[email protected]" | ||
extras: | ||
- dask | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v4 | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,81 +1,7 @@ | ||
# Dask | ||
|
||
[https://www.dask.org](https://www.dask.org) | ||
|
||
![](https://img.shields.io/badge/memtables-native-green?style=flat-square) ![](https://img.shields.io/badge/inputs-CSV | Parquet-blue?style=flat-square) ![](https://img.shields.io/badge/outputs-CSV | pandas | Parquet | PyArrow-orange?style=flat-square) | ||
|
||
::: {.callout-warning} | ||
## The Dask backend is slated for removal in Ibis 10.0 | ||
We recommend using one of our other backends. | ||
|
||
Many workloads work well on the DuckDB and Polars backends, for example. | ||
::: | ||
|
||
## Install | ||
|
||
Install Ibis and dependencies for the Dask backend: | ||
|
||
::: {.panel-tabset} | ||
|
||
## `pip` | ||
|
||
Install with the `dask` extra: | ||
|
||
```{.bash} | ||
pip install 'ibis-framework[dask]' | ||
``` | ||
|
||
And connect: | ||
|
||
```{.python} | ||
import ibis | ||
con = ibis.dask.connect() # <1> | ||
``` | ||
|
||
1. Adjust connection parameters as needed. | ||
|
||
## `conda` | ||
|
||
Install for Dask: | ||
|
||
```{.bash} | ||
conda install -c conda-forge ibis-dask | ||
``` | ||
|
||
And connect: | ||
|
||
```{.python} | ||
import ibis | ||
con = ibis.dask.connect() # <1> | ||
``` | ||
|
||
1. Adjust connection parameters as needed. | ||
|
||
## `mamba` | ||
|
||
Install for Dask: | ||
|
||
```{.bash} | ||
mamba install -c conda-forge ibis-dask | ||
``` | ||
|
||
And connect: | ||
|
||
```{.python} | ||
import ibis | ||
con = ibis.dask.connect() # <1> | ||
``` | ||
|
||
1. Adjust connection parameters as needed. | ||
::: {.callout-note} | ||
## The Dask backend was removed in Ibis version 10.0 | ||
|
||
See [our blog post](../posts/farewell-pandas/index.qmd) on the topic for more information. | ||
::: | ||
|
||
```{python} | ||
#| echo: false | ||
BACKEND = "Dask" | ||
``` | ||
|
||
{{< include ./_templates/api.qmd >}} |
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.