This is an automated email from the ASF dual-hosted git repository. wayne pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/datafusion.git
The following commit(s) were added to refs/heads/main by this push: new b7c014a2c8 fix: regex bench (#16890) b7c014a2c8 is described below commit b7c014a2c8c8536944fec497c983d25974d04a8c Author: Chen Chongchen <chenkov...@qq.com> AuthorDate: Tue Jul 29 06:01:42 2025 +0800 fix: regex bench (#16890) --- datafusion/functions/benches/regx.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/datafusion/functions/benches/regx.rs b/datafusion/functions/benches/regx.rs index df55748d26..cd5d987006 100644 --- a/datafusion/functions/benches/regx.rs +++ b/datafusion/functions/benches/regx.rs @@ -175,6 +175,7 @@ fn criterion_benchmark(c: &mut Criterion) { let data = cast(&data(&mut rng), &DataType::Utf8View).unwrap(); let regex = cast(®ex(&mut rng), &DataType::Utf8View).unwrap(); let start = Arc::new(start(&mut rng)) as ArrayRef; + let n = Arc::new(n(&mut rng)) as ArrayRef; let flags = cast(&flags(&mut rng), &DataType::Utf8View).unwrap(); b.iter(|| { @@ -183,6 +184,7 @@ fn criterion_benchmark(c: &mut Criterion) { Arc::clone(&data), Arc::clone(®ex), Arc::clone(&start), + Arc::clone(&n), Arc::clone(&flags), ]) .expect("regexp_instr should work on utf8view"), --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@datafusion.apache.org For additional commands, e-mail: commits-h...@datafusion.apache.org