From a379c73517f8193a908f1b0c05638797186b8f5e Mon Sep 17 00:00:00 2001 From: Matt Katz Date: Fri, 23 Oct 2026 10:26:17 -0400 Subject: [PATCH] pass an execution context to ListArray::try_new in nested_empty_list_roundtrip Signed-off-by: Matt Katz --- vortex-file/src/tests.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vortex-file/src/tests.rs b/vortex-file/src/tests.rs index 368e56d970f..15b585be79d 100644 --- a/vortex-file/src/tests.rs +++ b/vortex-file/src/tests.rs @@ -2047,13 +2047,16 @@ async fn nested_list_of_list_roundtrip() -> VortexResult<()> { #[tokio::test] #[cfg_attr(miri, ignore)] async fn nested_empty_list_roundtrip(#[case] validity: Validity) -> VortexResult<()> { + let mut ctx = SESSION.create_execution_ctx(); let inner = ListArray::try_new( PrimitiveArray::new::(buffer![], Validity::NonNullable).into_array(), buffer![0u32].into_array(), Validity::NonNullable, + &mut ctx, )? .into_array(); - let outer = ListArray::try_new(inner, buffer![0u32, 0, 0].into_array(), validity)?.into_array(); + let outer = ListArray::try_new(inner, buffer![0u32, 0, 0].into_array(), validity, &mut ctx)? + .into_array(); let array = StructArray::from_fields(&[("nested", outer)])?.into_array(); let result = write_read_roundtrip(array.clone()).await?;