Skip to content

Commit

Permalink
chore: add conditional compilation for Polars get_stats_records
Browse files Browse the repository at this point in the history
  • Loading branch information
jqnatividad committed Oct 27, 2024
1 parent 88cf57a commit e42bd83
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ pub enum StatsMode {
Schema,
Frequency,
FrequencyForceStats,
#[cfg(feature = "polars")]
PolarsSchema,
None,
}
Expand Down Expand Up @@ -2056,6 +2057,7 @@ pub fn get_stats_records(
output = tempfile_path,
)
},
#[cfg(feature = "polars")]
StatsMode::PolarsSchema => {
// StatsMode::PolarsSchema
// we need data types and ranges
Expand Down

0 comments on commit e42bd83

Please sign in to comment.