Skip to content

Commit 1e02881

Browse files
committed
Fix unit tests
Signed-off-by: Andrew Carbonetto <andrew.carbonetto@improving.com>
1 parent a3d8f39 commit 1e02881

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ class PPLLogicalPlanJsonFunctionsTranslatorTestSuite
209209
val jsonObjExp =
210210
Literal("""{"a":[{"b":1},{"c":2}]}""")
211211
val jsonFunc =
212-
Alias(visit("json_delete", util.List.of(jsonObjExp, keysExpression)), "result")()
212+
Alias(visit("json_set", util.List.of(jsonObjExp, keysExpression)), "result")()
213213
val eval = Project(Seq(UnresolvedStar(None), jsonFunc), table)
214214
val expectedPlan = Project(Seq(UnresolvedStar(None)), eval)
215215
comparePlans(expectedPlan, logPlan, false)

0 commit comments

Comments
 (0)