Skip to content

Commit

Permalink
[Spark] Fix UppdateSuiteBase nested data test
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-toth committed Sep 29, 2023
1 parent ccf7fbc commit c526364
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -674,8 +674,8 @@ abstract class UpdateSuiteBase

testAnalysisException(
targetDF,
set =
Seq("a = named_struct('c', named_struct('d', 'rand', 'e', 'str'))", "a.c.d = 'RANDOM2'"),
set = Seq("a = named_struct('c', named_struct('d', 'rand', 'e', 'str'), 'g', 3)",
"a.c.d = 'RANDOM2'"),
errMsgs = "There is a conflict from these SET columns" :: Nil)

val schema = new StructType().add("a", MapType(StringType, IntegerType))
Expand Down

0 comments on commit c526364

Please sign in to comment.