Skip to content

Commit

Permalink
Merge pull request #1139 from k-yomo:fix-input-table-spec-to-optional
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 577930218
  • Loading branch information
cloud-teleport committed Oct 30, 2023
2 parents f21d03d + 18d0965 commit 9aeca17
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ public static String tableRowToJson(TableRow row) {
public interface BigQueryReadOptions extends PipelineOptions {
@TemplateParameter.BigQueryTable(
order = 1,
optional = true,
description = "BigQuery source table",
helpText = "BigQuery source table spec.",
example = "bigquery-project:dataset.input_table")
Expand Down Expand Up @@ -206,10 +207,10 @@ public interface BigQueryReadOptions extends PipelineOptions {
void setUseLegacySql(Boolean useLegacySql);

@TemplateParameter.Text(
order = 4,
order = 5,
optional = true,
regexes = {"[a-zA-Z0-9-]+"},
description = "BigQuery geographic location where the query job will be executed.",
description = "BigQuery geographic location where the query job will be executed.",
helpText =
"Needed when reading from an authorized view without underlying table's permission.",
example = "US")
Expand Down

0 comments on commit 9aeca17

Please sign in to comment.