Skip to content

Commit 1c55838

Browse files
committed
fix docs
Signed-off-by: guojidan <[email protected]>
1 parent d18df33 commit 1c55838

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

datafusion-examples/examples/advanced_udwf.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ async fn create_context() -> Result<SessionContext> {
171171

172172
// declare a table in memory. In spark API, this corresponds to createDataFrame(...).
173173
println!("pwd: {}", std::env::current_dir().unwrap().display());
174-
let csv_path = "datafusion/core/tests/data/cars.csv".to_string();
174+
let csv_path = "../../datafusion/core/tests/data/cars.csv".to_string();
175175
let read_options = CsvReadOptions::default().has_header(true);
176176

177177
ctx.register_csv("cars", &csv_path, read_options).await?;

datafusion/expr/src/udwf.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ pub trait WindowUDFImpl: Debug + Send + Sync {
302302
/// optimizations manually for specific UDFs.
303303
///
304304
/// Example:
305-
/// [`advanced_udwf.rs`]: https://github.com/apache/arrow-datafusion/blob/main/datafusion-examples/examples/advanced_udwf.rs
305+
/// [`advanced_udwf.rs`]: <https://github.com/apache/arrow-datafusion/blob/main/datafusion-examples/examples/advanced_udwf.rs>
306306
///
307307
/// # Returns
308308
/// [`ExprSimplifyResult`] indicating the result of the simplification NOTE

0 commit comments

Comments
 (0)