Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ scala-collection-compat = "2.13.0"
slf4j = "2.0.16"
snowflake-jdbc = "3.22.0"
spark-hive34 = "3.4.4"
spark-hive35 = "3.5.4"
spark-hive35 = "3.5.5"
Comment thread
manuzhang marked this conversation as resolved.
sqlite-jdbc = "3.49.1.0"
testcontainers = "1.20.5"
tez08 = { strictly = "0.8.4"} # see rich version usage explanation above
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,6 @@
import org.apache.spark.sql.types.MapType;
import org.apache.spark.sql.types.StructField;
import org.apache.spark.sql.types.StructType;
import org.apache.spark.sql.types.TimestampNTZType;
import org.apache.spark.sql.types.TimestampType$;
import org.apache.spark.sql.vectorized.ColumnarBatch;
import org.apache.spark.unsafe.types.UTF8String;
import scala.collection.Seq;
Expand Down Expand Up @@ -784,11 +782,6 @@ private static void assertEquals(
for (int i = 0; i < actual.numFields(); i += 1) {
StructField field = struct.fields()[i];
DataType type = field.dataType();
// ColumnarRow.get doesn't support TimestampNTZType, causing tests to fail. the representation
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for removing this. This also fixes #11945

// is identical to TimestampType so this uses that type to validate.
if (type instanceof TimestampNTZType) {
type = TimestampType$.MODULE$;
}

assertEquals(
context + "." + field.name(),
Expand Down