From aea88b04f2c43525d2513bdb456044ffacb704fd Mon Sep 17 00:00:00 2001 From: Dain Sundstrom Date: Sun, 25 Jun 2023 13:36:03 -0700 Subject: [PATCH] Add missing return in BigQueryStorageAvroPageSource --- .../io/trino/plugin/bigquery/BigQueryStorageAvroPageSource.java | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/trino-bigquery/src/main/java/io/trino/plugin/bigquery/BigQueryStorageAvroPageSource.java b/plugin/trino-bigquery/src/main/java/io/trino/plugin/bigquery/BigQueryStorageAvroPageSource.java index 8df8d34aff6d..b10f8bd2556b 100644 --- a/plugin/trino-bigquery/src/main/java/io/trino/plugin/bigquery/BigQueryStorageAvroPageSource.java +++ b/plugin/trino-bigquery/src/main/java/io/trino/plugin/bigquery/BigQueryStorageAvroPageSource.java @@ -271,6 +271,7 @@ private void writeBlock(BlockBuilder output, Type type, Object value) appendTo(type.getTypeParameters().get(index), record.get(fieldNames.get(index)), fieldBuilders.get(index)); } }); + return; } throw new TrinoException(GENERIC_INTERNAL_ERROR, "Unhandled type for Block: " + type.getTypeSignature()); }