Skip to content

Commit

Permalink
modify test
Browse files Browse the repository at this point in the history
  • Loading branch information
Lordworms committed Feb 28, 2024
1 parent e36590c commit 07965f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion datafusion/core/tests/dataframe/dataframe_functions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ async fn test_fn_regexp_like() -> Result<()> {
#[tokio::test]
#[cfg(feature = "unicode_expressions")]
async fn test_fn_regexp_match() -> Result<()> {
let expr = regexp_match(vec![col("a"), lit("[a-z]")]);
let expr = regexp_match(col("a"), lit("[a-z]"));

let expected = [
"+------------------------------------+",
Expand Down
3 changes: 2 additions & 1 deletion datafusion/functions/src/regex/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ make_udf_function!(regexpmatch::RegexpMatchFunc, REGEXP_MATCH, regexp_match);

export_functions!((
regexp_match,
input_args,
input_arg1
input_arg2,
"returns a list of regular expression matches in a string. "
));

0 comments on commit 07965f4

Please sign in to comment.