Skip to content

Commit 5640bae

Browse files
committed
mark StructStrategy as deprecated
Signed-off-by: Andrew Duffy <[email protected]>
1 parent 6fa4ff4 commit 5640bae

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

vortex-layout/src/layouts/struct_/writer.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,13 @@ use crate::sequence::SequencePointer;
3535
use crate::sequence::SequentialStreamAdapter;
3636
use crate::sequence::SequentialStreamExt;
3737

38+
/// A write strategy that shreds tabular data into columns and writes each column
39+
/// as its own distinct stream.
40+
///
41+
/// This is now deprecated, users are encouraged to instead use the
42+
/// [`PathStrategy`][crate::layouts::path::PathStrategy].
3843
#[derive(Clone)]
44+
#[deprecated(since = "0.57.0", note = "Use the `PathStrategy` instead.")]
3945
pub struct StructStrategy {
4046
child: Arc<dyn LayoutStrategy>,
4147
validity: Arc<dyn LayoutStrategy>,

0 commit comments

Comments
 (0)