[
https://issues.apache.org/jira/browse/BEAM-11648?focusedWorklogId=556178&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-556178
]
ASF GitHub Bot logged work on BEAM-11648:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 23/Feb/21 05:40
Start Date: 23/Feb/21 05:40
Worklog Time Spent: 10m
Work Description: amaliujia commented on a change in pull request #13771:
URL: https://github.com/apache/beam/pull/13771#discussion_r580780423
##########
File path:
sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryHelpers.java
##########
@@ -411,6 +411,21 @@ public static TableReference parseTableSpec(String
tableSpec) {
return
ref.setDatasetId(match.group("DATASET")).setTableId(match.group("TABLE"));
}
+ public static TableReference parseTableUrn(String tableUrn) {
+ Matcher match = BigQueryIO.TABLE_URN_SPEC.matcher(tableUrn);
+ if (!match.matches()) {
+ throw new IllegalArgumentException(
+ "Table reference is not in
projects/[project_id]/datasets/[dataset_id]/tables/[table_id] "
Review comment:
+1. My impression is that the BQ table naming convention is
`project:dataset_name.table_name`? Though I did a quick search and didn't find
the exact BQ naming convention.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 556178)
Time Spent: 21.5h (was: 21h 20m)
> Implement new BigQuery sink (Vortex)
> ------------------------------------
>
> Key: BEAM-11648
> URL: https://issues.apache.org/jira/browse/BEAM-11648
> Project: Beam
> Issue Type: New Feature
> Components: extensions-java-gcp
> Reporter: Reuven Lax
> Priority: P2
> Time Spent: 21.5h
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)