Skip to content

Commit ff7b414

Browse files
committed
pub some convert trait
1 parent 203019c commit ff7b414

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

vortex-datafusion/src/convert/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ pub(crate) mod exprs;
77
mod scalars;
88

99
/// First-party trait for implementing conversion from DataFusion types to Vortex types.
10-
pub(crate) trait TryFromDataFusion<D: ?Sized>: Sized {
10+
pub trait TryFromDataFusion<D: ?Sized>: Sized {
1111
fn try_from_df(df: &D) -> VortexResult<Self>;
1212
}
1313

1414
/// First-party trait for implementing conversion from DataFusion types to Vortex types.
15-
pub(crate) trait FromDataFusion<D: ?Sized>: Sized {
15+
pub trait FromDataFusion<D: ?Sized>: Sized {
1616
fn from_df(df: &D) -> Self;
1717
}
1818

1919
/// First-party trait for implementing conversion from Vortex to DataFusion types.
20-
pub(crate) trait TryToDataFusion<D> {
20+
pub trait TryToDataFusion<D> {
2121
fn try_to_df(&self) -> VortexResult<D>;
2222
}

vortex-datafusion/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use std::fmt::Debug;
88
use datafusion_common::stats::Precision as DFPrecision;
99
use vortex::stats::Precision;
1010

11-
mod convert;
11+
pub mod convert;
1212
mod persistent;
1313

1414
pub use persistent::*;

0 commit comments

Comments
 (0)