Skip to content

Commit 346f158

Browse files
committed
rebase and fix lint.
Signed-off-by: Thor <thor.hansen@dash0.com>
1 parent b2e7174 commit 346f158

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎vortex-file/src/tests.rs‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2147,16 +2147,18 @@ async fn nested_list_of_list_roundtrip() -> VortexResult<()> {
21472147
#[tokio::test]
21482148
#[cfg_attr(miri, ignore)]
21492149
async fn nested_empty_list_roundtrip(#[case] validity: Validity) -> VortexResult<()> {
2150+
let mut ctx = SESSION.create_execution_ctx();
21502151
let inner = ListArray::try_new(
21512152
PrimitiveArray::new::<i32>(buffer![], Validity::NonNullable).into_array(),
21522153
buffer![0u32].into_array(),
21532154
Validity::NonNullable,
2155+
&mut ctx,
21542156
)?
21552157
.into_array();
2156-
let outer = ListArray::try_new(inner, buffer![0u32, 0, 0].into_array(), validity)?.into_array();
2158+
let outer = ListArray::try_new(inner, buffer![0u32, 0, 0].into_array(), validity, &mut ctx)?
2159+
.into_array();
21572160
let array = StructArray::from_fields(&[("nested", outer)])?.into_array();
21582161

2159-
let result = write_read_roundtrip(array.clone()).await?;
21602162
assert_arrays_eq!(result, array, &mut SESSION.create_execution_ctx());
21612163
Ok(())
21622164
}

0 commit comments

Comments
 (0)