You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by yh...@apache.org on 2024/11/26 15:16:40 UTC

(beam) branch master updated: Make the warning about JSON BigQuery column type more precise (#33121)

This is an automated email from the ASF dual-hosted git repository.

yhu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new aeefa4f6433 Make the warning about JSON BigQuery column type more precise (#33121)
aeefa4f6433 is described below

commit aeefa4f6433a84206cf45085c7476f36a96f611d
Author: S. VeyriƩ <sv...@luminatedata.com>
AuthorDate: Tue Nov 26 16:16:32 2024 +0100

    Make the warning about JSON BigQuery column type more precise (#33121)
---
 .../src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryIO.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryIO.java b/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryIO.java
index 84bf90bd412..9a7f3a05556 100644
--- a/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryIO.java
+++ b/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryIO.java
@@ -3747,7 +3747,7 @@ public class BigQueryIO {
             if (rowWriterFactory.getOutputType() == OutputType.JsonTableRow) {
               LOG.warn(
                   "Found JSON type in TableSchema for 'FILE_LOADS' write method. \n"
-                      + "Make sure the TableRow value is a parsed JSON to ensure the read as a "
+                      + "Make sure the TableRow value is a Jackson JsonNode to ensure the read as a "
                       + "JSON type. Otherwise it will read as a raw (escaped) string.\n"
                       + "See https://cloud.google.com/bigquery/docs/loading-data-cloud-storage-json#limitations "
                       + "for limitations.");