From 6265196b4ef73c5b8b8b6b4b3a92b2baa329aacd Mon Sep 17 00:00:00 2001 From: Anshuman Date: Wed, 11 Dec 2024 16:31:09 +0530 Subject: [PATCH] Formatted to fix failing tests --- .../io/cdap/plugin/gcp/bigquery/action/BigQueryExecute.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/io/cdap/plugin/gcp/bigquery/action/BigQueryExecute.java b/src/main/java/io/cdap/plugin/gcp/bigquery/action/BigQueryExecute.java index a08bec795..bd208bedb 100644 --- a/src/main/java/io/cdap/plugin/gcp/bigquery/action/BigQueryExecute.java +++ b/src/main/java/io/cdap/plugin/gcp/bigquery/action/BigQueryExecute.java @@ -403,7 +403,7 @@ public static final class Config extends AbstractBigQueryActionConfig { @Name(WRITE_PREFERENCE) @Nullable @Macro - @Description("Specifies whether a job should overwrite or append the existing destination table if it already exists.") + @Description("Specifies if a job should overwrite or append the existing destination table if it already exists.") private String writePreference; private Config(@Nullable String project, @Nullable String serviceAccountType, @Nullable String serviceFilePath, @@ -571,7 +571,7 @@ void validateWritePreference(FailureCollector failureCollector, String writePref Set validPreferences = ImmutableSet.of("WRITE_EMPTY", "WRITE_APPEND", "WRITE_TRUNCATE"); if (!validPreferences.contains(writePreference)) { failureCollector.addFailure( - String.format( "Invalid write preference '%s'. Allowed values are 'WRITE_EMPTY', " + String.format("Invalid write preference '%s'. Allowed values are 'WRITE_EMPTY', " + "'WRITE_APPEND', or 'WRITE_TRUNCATE'.", writePreference), "Please provide a valid write preference.") .withConfigProperty(WRITE_PREFERENCE);