Skip to content

Commit bed7322

Browse files
committed
refactor: complete 2 TODOs in self review
1 parent f49ac14 commit bed7322

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

datafusion/functions/src/math/acos.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ impl ScalarUDFImpl for AcosFunc {
8282
DataType::Float32 => {
8383
Arc::new(make_function_scalar_inputs_return_type!(
8484
&args[0],
85-
"x",
85+
self.name(),
8686
Float32Array,
8787
Float32Array,
8888
{ f32::acos }

datafusion/proto/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ chrono = { workspace = true }
4747
datafusion = { path = "../core", version = "36.0.0" }
4848
datafusion-common = { workspace = true }
4949
datafusion-expr = { workspace = true }
50-
datafusion-functions = { workspace = true }
5150
object_store = { workspace = true }
5251
pbjson = { version = "0.6.0", optional = true }
5352
prost = "0.12.0"

0 commit comments

Comments
 (0)