Skip to content

Commit 4cf4666

Browse files
c-petersc-peters90
andauthored
refactor(rust): Expose physical plan NodeStyle (pola-rs#26184)
Co-authored-by: c-peters90 <[email protected]>
1 parent 8fe2761 commit 4cf4666

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

crates/polars-stream/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ pub use metrics::{GraphMetrics, NodeMetrics};
1818
mod morsel;
1919
mod nodes;
2020
mod physical_plan;
21-
pub use physical_plan::{PhysNode, PhysNodeKey, PhysNodeKind, ZipBehavior};
21+
pub use physical_plan::{NodeStyle, PhysNode, PhysNodeKey, PhysNodeKind, ZipBehavior};
2222
mod pipe;
2323
mod utils;
2424

crates/polars-stream/src/physical_plan/fmt.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ use super::{PhysNode, PhysNodeKey, PhysNodeKind};
1515
use crate::physical_plan::ZipBehavior;
1616

1717
/// A style of a graph node.
18-
enum NodeStyle {
18+
pub enum NodeStyle {
1919
InMemoryFallback,
2020
MemoryIntensive,
2121
Generic,

crates/polars-stream/src/physical_plan/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ mod lower_group_by;
2424
mod lower_ir;
2525
mod to_graph;
2626

27-
pub use fmt::visualize_plan;
27+
pub use fmt::{NodeStyle, visualize_plan};
2828
use polars_plan::prelude::PlanCallback;
2929
#[cfg(feature = "dynamic_group_by")]
3030
use polars_time::DynamicGroupOptions;

0 commit comments

Comments
 (0)