From 133c773af7734b00fd3a75be6dd1f99ed3527daf Mon Sep 17 00:00:00 2001 From: Lawrence Mitchell Date: Thu, 5 Sep 2024 17:19:11 +0000 Subject: [PATCH] refactor(rust): Bump NodeTraverser major version The migration of `Schema` into its own crate in #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. --- crates/polars-python/src/lazyframe/visit.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/polars-python/src/lazyframe/visit.rs b/crates/polars-python/src/lazyframe/visit.rs index 05e35db56f39..4a24261363f3 100644 --- a/crates/polars-python/src/lazyframe/visit.rs +++ b/crates/polars-python/src/lazyframe/visit.rs @@ -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, expr_arena: Arena) -> Self { Self {