Skip to content

Commit 8ca1fda

Browse files
committed
Make test happy
Signed-off-by: Chojan Shang <[email protected]>
1 parent 2b3fb04 commit 8ca1fda

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

datafusion/core/tests/dataframe/dataframe_functions.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ async fn test_fn_ascii() -> Result<()> {
111111

112112
#[tokio::test]
113113
async fn test_fn_bit_length() -> Result<()> {
114-
let expr = bit_length(col("a"));
114+
let expr = bit_length(vec![col("a")]);
115115

116116
let expected = [
117117
"+--------------------+",
@@ -247,7 +247,7 @@ async fn test_fn_character_length() -> Result<()> {
247247

248248
#[tokio::test]
249249
async fn test_fn_chr() -> Result<()> {
250-
let expr = chr(lit(128175));
250+
let expr = chr(vec![lit(128175)]);
251251

252252
let expected = [
253253
"+--------------------+",

datafusion/functions/src/string/chr.rs

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
// under the License.
1717

1818
use std::any::Any;
19-
use std::iter;
2019
use std::sync::Arc;
2120

2221
use arrow::array::ArrayRef;

0 commit comments

Comments
 (0)