From 26a364c3c8b46aa560dfea852d8e8a45f8454e6e Mon Sep 17 00:00:00 2001 From: Ritchie Vink Date: Tue, 1 Oct 2024 09:13:22 +0200 Subject: [PATCH] fix: Error node should be on top (#19045) --- crates/polars-plan/src/plans/conversion/dsl_to_ir.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/polars-plan/src/plans/conversion/dsl_to_ir.rs b/crates/polars-plan/src/plans/conversion/dsl_to_ir.rs index 62fd0673d496..17ea7b41be36 100644 --- a/crates/polars-plan/src/plans/conversion/dsl_to_ir.rs +++ b/crates/polars-plan/src/plans/conversion/dsl_to_ir.rs @@ -70,7 +70,7 @@ pub fn to_alp( ); let location = format!("{}", plan.display()); Err(err.wrap_msg(|msg| { - format!("{msg}\n\nResolved plan until failure:\n\n{location}\n\t---> FAILED HERE RESOLVING {node_name} <---") + format!("{msg}\n\nResolved plan until failure:\n\n\t---> FAILED HERE RESOLVING {node_name} <---\n{location}") })) } else { Err(err)