From 097cf814325924ebc111650f9059728228643c84 Mon Sep 17 00:00:00 2001 From: kberezin Date: Fri, 13 Sep 2024 09:40:33 +0200 Subject: [PATCH] `@JsonIgnore` causes emulator endpoint to be missing in DoFn's --- sdks/java/io/google-cloud-platform/build.gradle | 1 - .../org/apache/beam/sdk/io/gcp/bigquery/BigQueryOptions.java | 2 -- 2 files changed, 3 deletions(-) diff --git a/sdks/java/io/google-cloud-platform/build.gradle b/sdks/java/io/google-cloud-platform/build.gradle index 9452d8db5bb3..3e322d976c1a 100644 --- a/sdks/java/io/google-cloud-platform/build.gradle +++ b/sdks/java/io/google-cloud-platform/build.gradle @@ -115,7 +115,6 @@ dependencies { implementation library.java.http_client implementation library.java.hamcrest implementation library.java.http_core - implementation library.java.jackson_annotations implementation library.java.jackson_core implementation library.java.jackson_databind implementation library.java.jackson_datatype_joda diff --git a/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryOptions.java b/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryOptions.java index a2b506408ee0..5ddede38aa78 100644 --- a/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryOptions.java +++ b/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryOptions.java @@ -17,7 +17,6 @@ */ package org.apache.beam.sdk.io.gcp.bigquery; -import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Map; import org.apache.beam.sdk.extensions.gcp.options.GcpOptions; import org.apache.beam.sdk.options.ApplicationNameOptions; @@ -225,7 +224,6 @@ public interface BigQueryOptions void setJobLabelsMap(Map value); /** BQ endpoint to use. If unspecified, uses the default endpoint. */ - @JsonIgnore @Hidden @Description("The URL for the BigQuery API.") String getBigQueryEndpoint();