Skip to content

Commit 9eb182e

Browse files
authored
Fix broken links in user docs (#17228)
1 parent afc90f7 commit 9eb182e

File tree

5 files changed

+16
-16
lines changed

5 files changed

+16
-16
lines changed

datafusion/functions/src/datetime/make_date.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ use datafusion_macros::user_doc;
5151
+-----------------------------------------------+
5252
```
5353
54-
Additional examples can be found [here](https://github.com/apache/datafusion/blob/main/datafusion-examples/examples/make_date.rs)
54+
Additional examples can be found [here](https://github.com/apache/datafusion/blob/main/datafusion-examples/examples/date_time_functions.rs)
5555
"#,
5656
argument(
5757
name = "year",

datafusion/functions/src/datetime/to_char.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ use datafusion_macros::user_doc;
4848
+----------------------------------------------+
4949
```
5050
51-
Additional examples can be found [here](https://github.com/apache/datafusion/blob/main/datafusion-examples/examples/to_char.rs)
51+
Additional examples can be found [here](https://github.com/apache/datafusion/blob/main/datafusion-examples/examples/date_time_functions.rs)
5252
"#,
5353
argument(
5454
name = "expression",

datafusion/functions/src/datetime/to_date.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Note: `to_date` returns Date32, which represents its values as the number of day
5353
+---------------------------------------------------------------------+
5454
```
5555
56-
Additional examples can be found [here](https://github.com/apache/datafusion/blob/main/datafusion-examples/examples/to_date.rs)
56+
Additional examples can be found [here](https://github.com/apache/datafusion/blob/main/datafusion-examples/examples/date_time_functions.rs)
5757
"#,
5858
standard_argument(name = "expression", prefix = "String"),
5959
argument(

datafusion/functions/src/datetime/to_timestamp.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Note: `to_timestamp` returns `Timestamp(Nanosecond)`. The supported range for in
5555
| 2023-05-17T03:59:00.123456789 |
5656
+--------------------------------------------------------------------------------------------------------+
5757
```
58-
Additional examples can be found [here](https://github.com/apache/datafusion/blob/main/datafusion-examples/examples/to_timestamp.rs)
58+
Additional examples can be found [here](https://github.com/apache/datafusion/blob/main/datafusion-examples/examples/date_time_functions.rs)
5959
"#,
6060
argument(
6161
name = "expression",
@@ -89,7 +89,7 @@ pub struct ToTimestampFunc {
8989
| 2023-05-17T03:59:00 |
9090
+----------------------------------------------------------------------------------------------------------------+
9191
```
92-
Additional examples can be found [here](https://github.com/apache/datafusion/blob/main/datafusion-examples/examples/to_timestamp.rs)
92+
Additional examples can be found [here](https://github.com/apache/datafusion/blob/main/datafusion-examples/examples/date_time_functions.rs)
9393
"#,
9494
argument(
9595
name = "expression",
@@ -123,7 +123,7 @@ pub struct ToTimestampSecondsFunc {
123123
| 2023-05-17T03:59:00.123 |
124124
+---------------------------------------------------------------------------------------------------------------+
125125
```
126-
Additional examples can be found [here](https://github.com/apache/datafusion/blob/main/datafusion-examples/examples/to_timestamp.rs)
126+
Additional examples can be found [here](https://github.com/apache/datafusion/blob/main/datafusion-examples/examples/date_time_functions.rs)
127127
"#,
128128
argument(
129129
name = "expression",
@@ -157,7 +157,7 @@ pub struct ToTimestampMillisFunc {
157157
| 2023-05-17T03:59:00.123456 |
158158
+---------------------------------------------------------------------------------------------------------------+
159159
```
160-
Additional examples can be found [here](https://github.com/apache/datafusion/blob/main/datafusion-examples/examples/to_timestamp.rs)
160+
Additional examples can be found [here](https://github.com/apache/datafusion/blob/main/datafusion-examples/examples/date_time_functions.rs)
161161
"#,
162162
argument(
163163
name = "expression",
@@ -191,7 +191,7 @@ pub struct ToTimestampMicrosFunc {
191191
| 2023-05-17T03:59:00.123456789 |
192192
+---------------------------------------------------------------------------------------------------------------+
193193
```
194-
Additional examples can be found [here](https://github.com/apache/datafusion/blob/main/datafusion-examples/examples/to_timestamp.rs)
194+
Additional examples can be found [here](https://github.com/apache/datafusion/blob/main/datafusion-examples/examples/date_time_functions.rs)
195195
"#,
196196
argument(
197197
name = "expression",

docs/source/user-guide/sql/scalar_functions.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2223,7 +2223,7 @@ make_date(year, month, day)
22232223
+-----------------------------------------------+
22242224
```
22252225

2226-
Additional examples can be found [here](https://github.com/apache/datafusion/blob/main/datafusion-examples/examples/make_date.rs)
2226+
Additional examples can be found [here](https://github.com/apache/datafusion/blob/main/datafusion-examples/examples/date_time_functions.rs)
22272227

22282228
### `now`
22292229

@@ -2264,7 +2264,7 @@ to_char(expression, format)
22642264
+----------------------------------------------+
22652265
```
22662266

2267-
Additional examples can be found [here](https://github.com/apache/datafusion/blob/main/datafusion-examples/examples/to_char.rs)
2267+
Additional examples can be found [here](https://github.com/apache/datafusion/blob/main/datafusion-examples/examples/date_time_functions.rs)
22682268

22692269
#### Aliases
22702270

@@ -2308,7 +2308,7 @@ to_date('2017-05-31', '%Y-%m-%d')
23082308
+---------------------------------------------------------------------+
23092309
```
23102310

2311-
Additional examples can be found [here](https://github.com/apache/datafusion/blob/main/datafusion-examples/examples/to_date.rs)
2311+
Additional examples can be found [here](https://github.com/apache/datafusion/blob/main/datafusion-examples/examples/date_time_functions.rs)
23122312

23132313
### `to_local_time`
23142314

@@ -2403,7 +2403,7 @@ to_timestamp(expression[, ..., format_n])
24032403
+--------------------------------------------------------------------------------------------------------+
24042404
```
24052405

2406-
Additional examples can be found [here](https://github.com/apache/datafusion/blob/main/datafusion-examples/examples/to_timestamp.rs)
2406+
Additional examples can be found [here](https://github.com/apache/datafusion/blob/main/datafusion-examples/examples/date_time_functions.rs)
24072407

24082408
### `to_timestamp_micros`
24092409

@@ -2435,7 +2435,7 @@ to_timestamp_micros(expression[, ..., format_n])
24352435
+---------------------------------------------------------------------------------------------------------------+
24362436
```
24372437

2438-
Additional examples can be found [here](https://github.com/apache/datafusion/blob/main/datafusion-examples/examples/to_timestamp.rs)
2438+
Additional examples can be found [here](https://github.com/apache/datafusion/blob/main/datafusion-examples/examples/date_time_functions.rs)
24392439

24402440
### `to_timestamp_millis`
24412441

@@ -2467,7 +2467,7 @@ to_timestamp_millis(expression[, ..., format_n])
24672467
+---------------------------------------------------------------------------------------------------------------+
24682468
```
24692469

2470-
Additional examples can be found [here](https://github.com/apache/datafusion/blob/main/datafusion-examples/examples/to_timestamp.rs)
2470+
Additional examples can be found [here](https://github.com/apache/datafusion/blob/main/datafusion-examples/examples/date_time_functions.rs)
24712471

24722472
### `to_timestamp_nanos`
24732473

@@ -2499,7 +2499,7 @@ to_timestamp_nanos(expression[, ..., format_n])
24992499
+---------------------------------------------------------------------------------------------------------------+
25002500
```
25012501

2502-
Additional examples can be found [here](https://github.com/apache/datafusion/blob/main/datafusion-examples/examples/to_timestamp.rs)
2502+
Additional examples can be found [here](https://github.com/apache/datafusion/blob/main/datafusion-examples/examples/date_time_functions.rs)
25032503

25042504
### `to_timestamp_seconds`
25052505

@@ -2531,7 +2531,7 @@ to_timestamp_seconds(expression[, ..., format_n])
25312531
+----------------------------------------------------------------------------------------------------------------+
25322532
```
25332533

2534-
Additional examples can be found [here](https://github.com/apache/datafusion/blob/main/datafusion-examples/examples/to_timestamp.rs)
2534+
Additional examples can be found [here](https://github.com/apache/datafusion/blob/main/datafusion-examples/examples/date_time_functions.rs)
25352535

25362536
### `to_unixtime`
25372537

0 commit comments

Comments
 (0)