Skip to content

Commit a75dea7

Browse files
committed
Format and fix tests
1 parent 7960dc9 commit a75dea7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

spark-bigquery-connector-common/src/test/java/com/google/cloud/spark/bigquery/integration/ReadByFormatIntegrationTestBase.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,9 @@ public void testConvertBigQueryMapToSparkMap() throws Exception {
268268
"map_field",
269269
LegacySQLTypeName.RECORD,
270270
FieldList.of(
271-
Field.of("key", LegacySQLTypeName.STRING),
271+
Field.newBuilder("key", LegacySQLTypeName.STRING)
272+
.setMode(Field.Mode.REQUIRED)
273+
.build(),
272274
Field.of("value", LegacySQLTypeName.INTEGER)))
273275
.setMode(Field.Mode.REPEATED)
274276
.build())))

spark-bigquery-dsv2/spark-4.0-bigquery/src/test/java/com/google/cloud/spark/bigquery/integration/Spark40ReadByFormatIntegrationTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
package com.google.cloud.spark.bigquery.integration;
1717

1818
import org.apache.spark.sql.types.DataTypes;
19-
import org.junit.Test;
2019

2120
public class Spark40ReadByFormatIntegrationTest extends ReadByFormatIntegrationTestBase {
2221

0 commit comments

Comments
 (0)