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

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

                Author: ASF GitHub Bot
            Created on: 07/Jun/19 10:51
            Start Date: 07/Jun/19 10:51
    Worklog Time Spent: 10m 
      Work Description: charithe commented on pull request #8620: [BEAM-6673] 
Add schema support to BigQuery reads
URL: https://github.com/apache/beam/pull/8620#discussion_r291543326
 
 

 ##########
 File path: 
sdks/java/io/google-cloud-platform/src/test/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryIOReadTest.java
 ##########
 @@ -404,6 +407,65 @@ public void processElement(ProcessContext c) throws 
Exception {
     p.run();
   }
 
+  @Test
+  public void testReadTableWithSchema() throws IOException, 
InterruptedException {
+    // setup
+    Table someTable = new Table();
+    someTable.setSchema(
+        new TableSchema()
+            .setFields(
+                ImmutableList.of(
+                    new TableFieldSchema().setName("name").setType("STRING"),
+                    new 
TableFieldSchema().setName("number").setType("INTEGER"))));
 
 Review comment:
   I discovered a bug in the fake JobService while trying to do this. It'll 
require some non trivial amount of code changes so I thought it might be better 
to fix that in a separate PR from this. What do you think?
   
   Issue link: https://issues.apache.org/jira/browse/BEAM-7506
 
----------------------------------------------------------------
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: 255793)
    Time Spent: 1h 40m  (was: 1.5h)

> BigQueryIO.Read should automatically produce schemas
> ----------------------------------------------------
>
>                 Key: BEAM-6673
>                 URL: https://issues.apache.org/jira/browse/BEAM-6673
>             Project: Beam
>          Issue Type: Sub-task
>          Components: io-java-gcp
>            Reporter: Reuven Lax
>            Assignee: Shehzaad Nakhoda
>            Priority: Major
>          Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> The output PCollections should containĀ 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to