From 0df487c6d6cf76ea96f778d3cd3bd54be00155e8 Mon Sep 17 00:00:00 2001 From: Kacper Trochimiak Date: Fri, 27 Sep 2024 07:20:05 +0200 Subject: [PATCH] fix after rebase Signed-off-by: Kacper Trochimiak --- .../ppl/PPLLogicalPlanRenameTranslatorTestSuite.scala | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/ppl-spark-integration/src/test/scala/org/opensearch/flint/spark/ppl/PPLLogicalPlanRenameTranslatorTestSuite.scala b/ppl-spark-integration/src/test/scala/org/opensearch/flint/spark/ppl/PPLLogicalPlanRenameTranslatorTestSuite.scala index 02781ff88..ec643046b 100644 --- a/ppl-spark-integration/src/test/scala/org/opensearch/flint/spark/ppl/PPLLogicalPlanRenameTranslatorTestSuite.scala +++ b/ppl-spark-integration/src/test/scala/org/opensearch/flint/spark/ppl/PPLLogicalPlanRenameTranslatorTestSuite.scala @@ -29,7 +29,7 @@ class PPLLogicalPlanRenameTranslatorTestSuite val context = new CatalystPlanContext val logPlan = planTransformer.visit( - plan(pplParser, "source=t | rename a as r_a, b as r_b | fields c", false), + plan(pplParser, "source=t | rename a as r_a, b as r_b | fields c"), context) val renameProjectList: Seq[NamedExpression] = Seq( @@ -46,7 +46,7 @@ class PPLLogicalPlanRenameTranslatorTestSuite val context = new CatalystPlanContext val logPlan = planTransformer.visit( - plan(pplParser, "source=t | rename a as r_a, b as r_b | fields r_a, r_b, c", false), + plan(pplParser, "source=t | rename a as r_a, b as r_b | fields r_a, r_b, c"), context) val renameProjectList: Seq[NamedExpression] = @@ -64,7 +64,7 @@ class PPLLogicalPlanRenameTranslatorTestSuite val context = new CatalystPlanContext val logPlan = planTransformer.visit( - plan(pplParser, "source=t | rename a as r_a, b as r_b", false), + plan(pplParser, "source=t | rename a as r_a, b as r_b"), context) val renameProjectList: Seq[NamedExpression] = @@ -81,7 +81,7 @@ class PPLLogicalPlanRenameTranslatorTestSuite val context = new CatalystPlanContext val logPlan = planTransformer.visit( - plan(pplParser, "source=t | rename a as r_a, b as r_b | sort - r_a | fields r_b", false), + plan(pplParser, "source=t | rename a as r_a, b as r_b | sort - r_a | fields r_b"), context) val renameProjectList: Seq[NamedExpression] = @@ -102,8 +102,7 @@ class PPLLogicalPlanRenameTranslatorTestSuite planTransformer.visit( plan( pplParser, - "source=t | eval a = RAND() | rename a as eval_rand | fields eval_rand", - false), + "source=t | eval a = RAND() | rename a as eval_rand | fields eval_rand"), context) val evalProjectList: Seq[NamedExpression] = Seq(