beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Work logged] (BEAM-4601) BigQuery reads from pure SQL
Date Fri, 29 Jun 2018 18:07:00 GMT


ASF GitHub Bot logged work on BEAM-4601:

                Author: ASF GitHub Bot
            Created on: 29/Jun/18 18:06
            Start Date: 29/Jun/18 18:06
    Worklog Time Spent: 10m 
      Work Description: amaliujia commented on a change in pull request #5830: [BEAM-4601][SQL]
Support BigQuery read from SQL.

 File path: sdks/java/extensions/sql/src/main/java/org/apache/beam/sdk/extensions/sql/meta/provider/bigquery/
 @@ -43,7 +52,30 @@ public BeamBigQueryTable(Schema beamSchema, String tableSpec) {
   public PCollection<Row> buildIOReader(PBegin begin) {
-    throw new UnsupportedOperationException();
+    return begin
+        .apply(
+                    new SerializableFunction<SchemaAndRecord, Row>() {
 Review comment:
   If I should wrap it into ``, then `` should also be in
IO component so I don't need add dependency of SQL to IO (as IO will need call AvroUtils if
not do so).

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

Issue Time Tracking

    Worklog Id:     (was: 117515)
    Time Spent: 2.5h  (was: 2h 20m)

> BigQuery reads from pure SQL
> ----------------------------
>                 Key: BEAM-4601
>                 URL:
>             Project: Beam
>          Issue Type: New Feature
>          Components: dsl-sql
>            Reporter: Rui Wang
>            Assignee: Rui Wang
>            Priority: Major
>          Time Spent: 2.5h
>  Remaining Estimate: 0h
> Right now Beam SQL can created a BigQuery table, however, read from BigQuery table is
not supported yet. We want to support reading from BigQuery table.

This message was sent by Atlassian JIRA

View raw message