Skip to content

Commit

Permalink
fix after rebase
Browse files Browse the repository at this point in the history
Signed-off-by: Kacper Trochimiak <[email protected]>
  • Loading branch information
kt-eliatra committed Sep 27, 2024
1 parent 2bc1d8d commit 0df487c
Showing 1 changed file with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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] =
Expand All @@ -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] =
Expand All @@ -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] =
Expand All @@ -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(
Expand Down

0 comments on commit 0df487c

Please sign in to comment.