rdblue commented on code in PR #13219: URL: https://github.com/apache/iceberg/pull/13219#discussion_r2238014066
########## spark/v4.0/spark/src/test/java/org/apache/iceberg/spark/data/TestSparkVariants.java: ########## @@ -96,7 +96,7 @@ public void testIcebergVariantTypeToSparkVariantType() { Types.VariantType icebergVariantType = Types.VariantType.get(); DataType sparkVariantType = SparkSchemaUtil.convert(icebergVariantType); - assertThat(sparkVariantType).isEqualTo(VariantType$.MODULE$); + assertThat(sparkVariantType).isInstanceOf(VariantType$.class); Review Comment: This should be `VariantType` rather than `VariantType$`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org