(num: i32)
| 57 | } |
| 58 | |
| 59 | fn create_context(num: i32) -> datafusion_common::Result<Arc<Mutex<SessionContext>>> { |
| 60 | let ctx = SessionContext::new(); |
| 61 | ctx.register_batch("t", t_batch(num))?; |
| 62 | Ok(Arc::new(Mutex::new(ctx))) |
| 63 | } |
| 64 | |
| 65 | fn criterion_benchmark(c: &mut Criterion) { |
| 66 | let ctx = create_context(1).unwrap(); |
no test coverage detected
searching dependent graphs…