Skip to content

Commit 401fa93

Browse files
committed
scalafmt
Signed-off-by: Andrew Carbonetto <andrew.carbonetto@improving.com>
1 parent 1de4410 commit 401fa93

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

ppl-spark-integration/src/test/scala/org/opensearch/flint/spark/ppl/PPLLogicalPlanJsonFunctionsTranslatorTestSuite.scala

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -204,11 +204,7 @@ class PPLLogicalPlanJsonFunctionsTranslatorTestSuite
204204
val keysExpression =
205205
UnresolvedFunction(
206206
"array",
207-
Seq(
208-
Literal("a.b"),
209-
Literal(3),
210-
Literal("a.c"),
211-
Literal(4)),
207+
Seq(Literal("a.b"), Literal(3), Literal("a.c"), Literal(4)),
212208
isDistinct = false)
213209
val jsonObjExp =
214210
Literal("""{"a":[{"b":1},{"c":2}]}""")
@@ -219,7 +215,6 @@ class PPLLogicalPlanJsonFunctionsTranslatorTestSuite
219215
comparePlans(expectedPlan, logPlan, false)
220216
}
221217

222-
223218
test("test json_delete()") {
224219
val context = new CatalystPlanContext
225220
val logPlan =
@@ -278,11 +273,9 @@ class PPLLogicalPlanJsonFunctionsTranslatorTestSuite
278273
val keysExpression =
279274
UnresolvedFunction(
280275
"array",
281-
Seq(Literal("a.b"),
282-
UnresolvedFunction(
283-
"array",
284-
Seq(Literal("c"), Literal("d")),
285-
isDistinct = false)),
276+
Seq(
277+
Literal("a.b"),
278+
UnresolvedFunction("array", Seq(Literal("c"), Literal("d")), isDistinct = false)),
286279
isDistinct = false)
287280
val jsonObjExp =
288281
Literal("""{"a":[{"b":1},{"c":2}]}""")

0 commit comments

Comments
 (0)