Skip to content

Commit 7949f04

Browse files
committed
lints
Signed-off-by: Andrew Duffy <[email protected]>
1 parent 16b68de commit 7949f04

3 files changed

Lines changed: 16 additions & 0 deletions

File tree

‎Cargo.lock‎

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎encodings/parquet-variant/src/array.rs‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ use vortex_array::arrays::StructArray;
2222
use vortex_array::arrays::VariantArray;
2323
use vortex_array::arrays::list::ListArrayExt;
2424
use vortex_array::arrays::struct_::StructArrayExt;
25+
#[expect(
26+
deprecated,
27+
reason = "TODO(aduffy): figure out what to do with Parquet Variant"
28+
)]
2529
use vortex_array::arrow::ArrowArrayExecutor;
2630
use vortex_array::arrow::FromArrowArray;
2731
use vortex_array::arrow::to_arrow_null_buffer;
@@ -331,6 +335,10 @@ pub trait ParquetVariantArrayExt: TypedArrayRef<ParquetVariant> {
331335
}
332336

333337
/// Converts this storage array to Arrow's canonical Parquet Variant extension storage.
338+
#[expect(
339+
deprecated,
340+
reason = "TODO(aduffy): figure out what to do with Parquet Variant"
341+
)]
334342
fn to_arrow(&self, ctx: &mut ExecutionCtx) -> VortexResult<ArrowVariantArray> {
335343
let metadata = self.metadata_array();
336344
let len = metadata.len();

‎encodings/parquet-variant/src/kernel.rs‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,10 @@ fn to_parquet_variant_path(path: &VariantPath) -> VortexResult<PqVariantPath<'st
104104
.map(PqVariantPath::new)
105105
}
106106

107+
#[expect(
108+
deprecated,
109+
reason = "TODO(aduffy): figure out what to do with Parquet Variant"
110+
)]
107111
fn to_arrow_as_type(dtype: Option<&DType>) -> VortexResult<Option<FieldRef>> {
108112
match dtype {
109113
Some(dtype) if !dtype.is_variant() => Ok(Some(Arc::new(Field::new(

0 commit comments

Comments
 (0)