Skip to content
/ polars Public
forked from pola-rs/polars

Commit

Permalink
refactor(rust): Bump NodeTraverser major version
Browse files Browse the repository at this point in the history
The migration of `Schema` into its own crate in pola-rs#18539 change
the (internal) field name from `inner` to the more obvious `fields`.
This was exposed in the Python IR, so bump the major version.
  • Loading branch information
wence- committed Sep 5, 2024
1 parent 76b8f46 commit 133c773
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/polars-python/src/lazyframe/visit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ impl NodeTraverser {
// Increment major on breaking changes to the IR (e.g. renaming
// fields, reordering tuples), minor on backwards compatible
// changes (e.g. exposing a new expression node).
const VERSION: Version = (1, 1);
const VERSION: Version = (2, 0);

pub(crate) fn new(root: Node, lp_arena: Arena<IR>, expr_arena: Arena<AExpr>) -> Self {
Self {
Expand Down

0 comments on commit 133c773

Please sign in to comment.