Skip to content

Commit 1860149

Browse files
committed
Pass an execution context to ListArray::try_new in nested_empty_list_roundtrip
The test was added with the three-argument signature after try_new gained an ExecutionCtx parameter, so vortex-file's tests do not compile on develop. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Ps4mp7KF5c4p66aoSoXx5j Signed-off-by: Claude <[email protected]>
1 parent b7c0577 commit 1860149

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎vortex-file/src/tests.rs‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2046,13 +2046,16 @@ async fn nested_list_of_list_roundtrip() -> VortexResult<()> {
20462046
#[tokio::test]
20472047
#[cfg_attr(miri, ignore)]
20482048
async fn nested_empty_list_roundtrip(#[case] validity: Validity) -> VortexResult<()> {
2049+
let mut ctx = SESSION.create_execution_ctx();
20492050
let inner = ListArray::try_new(
20502051
PrimitiveArray::new::<i32>(buffer![], Validity::NonNullable).into_array(),
20512052
buffer![0u32].into_array(),
20522053
Validity::NonNullable,
2054+
&mut ctx,
20532055
)?
20542056
.into_array();
2055-
let outer = ListArray::try_new(inner, buffer![0u32, 0, 0].into_array(), validity)?.into_array();
2057+
let outer = ListArray::try_new(inner, buffer![0u32, 0, 0].into_array(), validity, &mut ctx)?
2058+
.into_array();
20562059
let array = StructArray::from_fields(&[("nested", outer)])?.into_array();
20572060

20582061
let result = write_read_roundtrip(array.clone()).await?;

0 commit comments

Comments
 (0)