From 563b667e330abd935c7281411645671c41c84078 Mon Sep 17 00:00:00 2001 From: AbdulRehman Faraj Date: Mon, 4 Dec 2023 20:44:27 +0000 Subject: [PATCH] Fixed import on big query test class --- .../connectors/google/bigquery/BigQueryRecordHandlerTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/athena-google-bigquery/src/test/java/com/amazonaws/athena/connectors/google/bigquery/BigQueryRecordHandlerTest.java b/athena-google-bigquery/src/test/java/com/amazonaws/athena/connectors/google/bigquery/BigQueryRecordHandlerTest.java index d6bf9b6abc..74f97587bd 100644 --- a/athena-google-bigquery/src/test/java/com/amazonaws/athena/connectors/google/bigquery/BigQueryRecordHandlerTest.java +++ b/athena-google-bigquery/src/test/java/com/amazonaws/athena/connectors/google/bigquery/BigQueryRecordHandlerTest.java @@ -87,6 +87,7 @@ import java.util.Map; import java.util.UUID; +import static com.amazonaws.athena.connector.lambda.domain.predicate.Constraints.DEFAULT_NO_LIMIT; import static com.amazonaws.athena.connectors.google.bigquery.BigQueryTestUtils.getBlockTestSchema; import static org.junit.Assert.assertTrue; import static org.mockito.ArgumentMatchers.any; @@ -263,7 +264,7 @@ public void testReadWithConstraint() .withIsDirectory(true) .build(), keyFactory.create()).build(), - new Constraints(Collections.EMPTY_MAP), + new Constraints(Collections.emptyMap(), Collections.emptyList(), Collections.emptyList(), DEFAULT_NO_LIMIT, Collections.emptyMap()), 0, //This is ignored when directly calling readWithConstraints. 0)) {