From 161c20649060c0896fac3f0091d2981fc082e31e Mon Sep 17 00:00:00 2001 From: Jack Wright Date: Wed, 26 Jun 2024 12:13:45 -0700 Subject: [PATCH] Outer join was removed in favor of full in polars, matching this API change --- crates/nu_plugin_polars/src/dataframe/lazy/join.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/nu_plugin_polars/src/dataframe/lazy/join.rs b/crates/nu_plugin_polars/src/dataframe/lazy/join.rs index 67f5aee9ba..01fb2ac24d 100644 --- a/crates/nu_plugin_polars/src/dataframe/lazy/join.rs +++ b/crates/nu_plugin_polars/src/dataframe/lazy/join.rs @@ -35,7 +35,7 @@ impl PluginCommand for LazyJoin { Some('i'), ) .switch("left", "left join between lazyframes", Some('l')) - .switch("outer", "outer join between lazyframes", Some('o')) + .switch("full", "full join between lazyframes", Some('f')) .switch("cross", "cross join between lazyframes", Some('c')) .named( "suffix", @@ -183,13 +183,13 @@ impl PluginCommand for LazyJoin { input: PipelineData, ) -> Result { let left = call.has_flag("left")?; - let outer = call.has_flag("outer")?; + let full = call.has_flag("full")?; let cross = call.has_flag("cross")?; let how = if left { JoinType::Left - } else if outer { - JoinType::Outer + } else if full { + JoinType::Full } else if cross { JoinType::Cross } else {