Skip to content

Commit

Permalink
Fix schema assertion for Union join
Browse files Browse the repository at this point in the history
  • Loading branch information
Ackuq committed Mar 14, 2022
1 parent a13dbda commit 077be2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scala/src/test/scala/data/SmallDataUnion.scala
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class SmallDataUnion(spark: SparkSession) extends SmallData(spark) {
)
private val PIT_2_schema: StructType = StructType(
Seq(
StructField("id", IntegerType, nullable = true),
StructField("id", IntegerType, nullable = false),
StructField("fg1_ts", IntegerType, nullable = true),
StructField("fg1_value", StringType, nullable = true),
StructField("fg2_ts", IntegerType, nullable = true),
Expand All @@ -66,7 +66,7 @@ class SmallDataUnion(spark: SparkSession) extends SmallData(spark) {
)
private val PIT_3_schema: StructType = StructType(
Seq(
StructField("id", IntegerType, nullable = true),
StructField("id", IntegerType, nullable = false),
StructField("fg1_ts", IntegerType, nullable = true),
StructField("fg1_value", StringType, nullable = true),
StructField("fg2_ts", IntegerType, nullable = true),
Expand Down

0 comments on commit 077be2d

Please sign in to comment.