Skip to content

Commit

Permalink
feat: update links
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoBorai committed Jun 4, 2024
1 parent efc0230 commit 08d014b
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions docs/sdf/dataflow-composition.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ fluvio topic delete words
* <a href="https://github.com/infinyon/stateful-dataflows-examples/" target="_blank">Example Workflows in github</a>


[Inline Dataflows]: /sdf/inline-dataflows/
[Dataflow file]: /sdf/dataflow-file/
[Inline Dataflows]: /sdf/dataflow-inline/
[Dataflow file]: /sdf/dataflow-yaml/
[SDF]: /sdf
[github]: https://github.com/infinyon/stateful-dataflows-examples/tree/main/dataflows-composed/split-sentence
2 changes: 1 addition & 1 deletion docs/sdf/polars.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ slug: /sdf/polars

The [polars](https://pola.rs) are built-in adaptors that can be used to perform data manipulation and transformation on dataframes. Polars adaptor is enabled for operators that can access dataframe states and you don't need to add any flag in your operator definition.

The polars [rust api](https://docs.rs/polars/0.36.2/polars/index.html) can be used when dataframe state is available. For example, following snippet show performing polar operator on state that return dataframe. Please refer to states [states](/docs/stateful-dataflows/states) section for more details.
The polars [rust api](https://docs.rs/polars/0.36.2/polars/index.html) can be used when dataframe state is available. For example, following snippet show performing polar operator on state that return dataframe. Please refer to states [states](/sdf/states) section for more details.

In here, `count_per_word` is a state that returns a [dataframe](https://docs.rs/polars/latest/polars/frame/struct.DataFrame.html) and assign to variable `df`. Then any dataframe operation can be performed on `df` variable.

Expand Down
2 changes: 1 addition & 1 deletion docs/sdf/sdf-cli.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -340,5 +340,5 @@ bye!
### References
* [dataflow.yaml]
[Fluvio Version Manager (fvm)]: /tutorials/install
[Fluvio Version Manager (fvm)]: /#install-fluvio
[dataflow.yaml]: /sdf/dataflow-yaml
2 changes: 1 addition & 1 deletion docs/sdf/services.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ Check out <a href="https://github.com/infinyon/stateful-dataflows-examples/tree/
[Operators Section]: /sdf/operators
[dataflow.yaml]: /sdf/dataflow-yaml
[sdf-package.yaml]: /sdf/sdf-package
[timestamp operator section]: /sdf/#assign-timestamp"
[timestamp operator section]: /sdf/operators#assign-timestamp
[Apache Arrow format]: https://docs.rs/arrow/latest/arrow/
[Polars]: https://pola.rs/
[Stateful Dataflows Examples]: https://github.com/infinyon/stateful-dataflows-examples
Expand Down
3 changes: 1 addition & 2 deletions docs/sdf/states.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ In this example, we used `increment` to add one to the previous value.

## Table States

The table state has a partition `key` and a value of `arrow-row` type. The arrow type may look familiar, as it is a mapping of the [arrow dataframe type]. These dataframes are portable with several full features libraries such as [Polars]. Fluvio uses [adapters] to map dataframes with with a these libraries.
The table state has a partition `key` and a value of `arrow-row` type. The arrow type may look familiar, as it is a mapping of the [arrow dataframe type]. These dataframes are portable with several full features libraries such as [Polars]. Fluvio uses adapters to map dataframes with with a these libraries.

```yaml
transforms:
Expand Down Expand Up @@ -180,5 +180,4 @@ The `car-color-state` is now usable in any of the steps of the `cars-prediction-

[arrow dataframe type]: https://docs.rs/arrow/latest/arrow/
[Polars]: https://pola.rs/
[adapters]: /sdf/adapters
[window operations]: /sdf/operators#window-operators

0 comments on commit 08d014b

Please sign in to comment.