Skip to content

Commit 046e020

Browse files
committed
Point file links to GitHub
1 parent d0df815 commit 046e020

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

docs/source/library-user-guide/adding-udfs.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ User Defined Functions (UDFs) are functions that can be used in the context of D
2323

2424
This page covers how to add UDFs to DataFusion. In particular, it covers how to add Scalar, Window, and Aggregate UDFs.
2525

26-
| UDF Type | Description | Example |
27-
| --------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------- |
28-
| Scalar | A function that takes a row of data and returns a single value. | [simple_udf.rs](../../../datafusion-examples/examples/simple_udf.rs) |
29-
| Window | A function that takes a row of data and returns a single value, but also has access to the rows around it. | [simple_udwf.rs](../../../datafusion-examples/examples/simple_udwf.rs) |
30-
| Aggregate | A function that takes a group of rows and returns a single value. | [simple_udaf.rs](../../../datafusion-examples/examples/simple_udaf.rs) |
26+
| UDF Type | Description | Example |
27+
| --------- | ---------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |
28+
| Scalar | A function that takes a row of data and returns a single value. | [simple_udf.rs](https://github.com/apache/arrow-datafusion/blob/main/datafusion-examples/examples/simple_udf.rs) |
29+
| Window | A function that takes a row of data and returns a single value, but also has access to the rows around it. | [simple_udwf.rs](https://github.com/apache/arrow-datafusion/blob/main/datafusion-examples/examples/simple_udwf.rs) |
30+
| Aggregate | A function that takes a group of rows and returns a single value. | [simple_udaf.rs](https://github.com/apache/arrow-datafusion/blob/main/datafusion-examples/examples/simple_udaf.rs) |
3131

3232
First we'll talk about adding an Scalar UDF end-to-end, then we'll talk about the differences between the different types of UDFs.
3333

docs/source/library-user-guide/catalogs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
# Catalogs, Schemas, and Tables
2121

22-
This section describes how to create and manage catalogs, schemas, and tables in DataFusion. For those wanting to dive into the code quickly please see the [example](../../../datafusion-examples/examples/catalog.rs).
22+
This section describes how to create and manage catalogs, schemas, and tables in DataFusion. For those wanting to dive into the code quickly please see the [example](https://github.com/apache/arrow-datafusion/blob/main/datafusion-examples/examples/catalog.rs).
2323

2424
## General Concepts
2525

docs/source/library-user-guide/working-with-exprs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ As the writer of a library, you may want to use or create `Expr`s to represent c
5252

5353
There are also executable examples for working with `Expr`s:
5454

55-
- [rewrite_expr.rs](../../../datafusion-examples/examples/catalog.rs)
56-
- [expr_api.rs](../../../datafusion-examples/examples/expr_api.rs)
55+
- [rewrite_expr.rs](https://github.com/apache/arrow-datafusion/blob/main/datafusion-examples/examples/rewrite_expr.rs)
56+
- [expr_api.rs](https://github.com/apache/arrow-datafusion/blob/main/datafusion-examples/examples/expr_api.rs)
5757

5858
## A Scalar UDF Example
5959

docs/source/user-guide/example-usage.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919

2020
# Example Usage
2121

22-
In this example some simple processing is performed on the [`example.csv`](../../../datafusion/core/tests/data/example.csv) file.
22+
In this example some simple processing is performed on the [`example.csv`](https://github.com/apache/arrow-datafusion/blob/main/datafusion/core/tests/data/example.csv) file.
2323

24-
Even [`more code examples`](../../../datafusion-examples) attached to the project
24+
Even [`more code examples`](https://github.com/apache/arrow-datafusion/tree/main/datafusion-examples) attached to the project
2525

2626
## Update `Cargo.toml`
2727

@@ -119,7 +119,7 @@ unexpectedly.
119119

120120
Please be aware that all identifiers are effectively made lower-case in SQL, so if your csv file has capital letters (ex: `Name`) you must put your column name in double quotes or the examples won't work.
121121

122-
To illustrate this behavior, consider the [`capitalized_example.csv`](../../../datafusion/core/tests/data/capitalized_example.csv) file:
122+
To illustrate this behavior, consider the [`capitalized_example.csv`](https://github.com/apache/arrow-datafusion/blob/main/datafusion/core/tests/data/capitalized_example.csv) file:
123123

124124
## Run a SQL query against data stored in a CSV:
125125

0 commit comments

Comments
 (0)