Skip to content

Commit

Permalink
docs(flink): remove conda warning from flink setup page (#8952)
Browse files Browse the repository at this point in the history
  • Loading branch information
gforsyth authored Apr 12, 2024
1 parent eecbcea commit dd9e928
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 5 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 29 additions & 3 deletions docs/tutorials/open-source-software/apache-flink/0_setup.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,44 @@ example in [A real-life use case: fraud detection](1_single_feature.qmd).

## Set up and connect to Flink

Install the Flink backend for Ibis with `pip`:
Install the Flink backend for Ibis:
```{python}
# | include: false
!pip install ibis-framework apache-flink
```

::: {.panel-tabset}

## Using `pip`

```bash
pip install ibis-framework apache-flink
```

::: {.callout-warning}
You need to install the Flink backend for Ibis alongside
the `apache-flink` package. PyFlink is not available on conda-forge, so you
cannot install the Flink backend for Ibis with `conda`, `mamba`, or `pixi`.
the `apache-flink` package.
:::

## Using `conda`

```bash
conda install -c conda-forge ibis-flink
```

## Using `mamba`

```bash
mamba install -c conda-forge ibis-flink
```

## Using `pixi`

```bash
pixi add ibis-flink
```

:::

To connect to a Flink session, simply create a `pyflink.table.TableEnvironment`
and pass that to `ibis.flink.connect()`:
Expand Down

0 comments on commit dd9e928

Please sign in to comment.