File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed
sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery
website/www/site/content/en/documentation/io/built-in Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -597,8 +597,8 @@ public class BigQueryIO {
597597 private static final String TABLE_REGEXP = "[-_\\ p{L}\\ p{N}\\ p{M}$@ ]{1,1024}" ;
598598
599599 /**
600- * Matches table specifications in the form {@code "[project_id]:[dataset_id].[table_id]"} or
601- * {@code "[dataset_id].[table_id]"}.
600+ * Matches table specifications in the form {@code "[project_id]:[dataset_id].[table_id]"}, {@code
601+ * "[project_id].[dataset_id].[table_id]"}, or {@code "[dataset_id].[table_id]"}.
602602 */
603603 private static final String DATASET_TABLE_REGEXP =
604604 String .format (
@@ -853,8 +853,9 @@ public Read withTestServices(BigQueryServices testServices) {
853853 }
854854
855855 /**
856- * Reads a BigQuery table specified as {@code "[project_id]:[dataset_id].[table_id]"} or {@code
857- * "[dataset_id].[table_id]"} for tables within the current project.
856+ * Reads a BigQuery table specified as {@code "[project_id]:[dataset_id].[table_id]"}, {@code
857+ * "[project_id].[dataset_id].[table_id]"}, or {@code "[dataset_id].[table_id]"} for tables
858+ * within the current project.
858859 */
859860 public Read from (String tableSpec ) {
860861 return new Read (this .inner .from (tableSpec ));
Original file line number Diff line number Diff line change @@ -98,8 +98,8 @@ object.
9898#### Using a string
9999
100100To specify a table with a string, use the format
101- ` [project_id]:[dataset_id].[table_id] ` to specify the fully-qualified BigQuery
102- table name.
101+ ` [project_id]:[dataset_id].[table_id] ` or ` [project_id].[dataset_id].[table_id] `
102+ to specify the fully-qualified BigQuery table name.
103103
104104{{< highlight java >}}
105105{{< code_sample "examples/java/src/main/java/org/apache/beam/examples/snippets/Snippets.java" BigQueryTableSpec >}}
You can’t perform that action at this time.
0 commit comments