[ 
https://issues.apache.org/jira/browse/BEAM-11162?focusedWorklogId=507328&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-507328
 ]

ASF GitHub Bot logged work on BEAM-11162:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 03/Nov/20 20:56
            Start Date: 03/Nov/20 20:56
    Worklog Time Spent: 10m 
      Work Description: chamikaramj commented on a change in pull request 
#13234:
URL: https://github.com/apache/beam/pull/13234#discussion_r516950301



##########
File path: 
sdks/java/io/google-cloud-platform/src/test/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryIOWriteTest.java
##########
@@ -584,6 +583,16 @@ public void testTriggeredFileLoadsWithTempTables() throws 
Exception {
         containsInAnyOrder(Iterables.toArray(elements, TableRow.class)));
   }
 
+  @Test
+  public void testTriggeredFileLoadsWithTempTables() throws Exception {
+    testTriggeredFileLoadsWithTempTables("project-id:dataset-id.table-id");
+  }
+
+  @Test
+  public void testTriggeredFileLoadsWithTempTablesPartialTableRef() throws 
Exception {

Review comment:
       testTriggeredFileLoadsWithTempTablesDefaultProject ?
   (what we'll be doing is picking the default project which is correct 
according to the spec: 
https://github.com/apache/beam/blob/master/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryHelpers.java#L395
   )




----------------------------------------------------------------
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: 507328)
    Remaining Estimate: 0h
            Time Spent: 10m

> BigQuery Write.to(ValueProvider<string>) without projectId fails in 
> MultiPartitionsWriteTables
> ----------------------------------------------------------------------------------------------
>
>                 Key: BEAM-11162
>                 URL: https://issues.apache.org/jira/browse/BEAM-11162
>             Project: Beam
>          Issue Type: Bug
>          Components: io-java-gcp
>            Reporter: Udi Meiri
>            Assignee: Udi Meiri
>            Priority: P2
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> What happens is that Beam wants to create new temporary BQ tables in the 
> multi partition case, and in order to do that it needs to fetch the target 
> table's schema. The failure happens in this line: 
> https://github.com/apache/beam/blob/34e27ba1dd6ec8886d0df7e5fcd3600fd64db914/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryServicesImpl.java#L504



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to