Skip to content

Commit

Permalink
Make the warning about JSON BigQuery column type more precise (#33121)
Browse files Browse the repository at this point in the history
  • Loading branch information
turb authored Nov 26, 2024
1 parent ddfd1a2 commit aeefa4f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3747,7 +3747,7 @@ private <DestinationT> WriteResult continueExpandTyped(
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.");
Expand Down

0 comments on commit aeefa4f

Please sign in to comment.