[
https://issues.apache.org/jira/browse/BEAM-3983?focusedWorklogId=86736&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-86736
]
ASF GitHub Bot logged work on BEAM-3983:
----------------------------------------
Author: ASF GitHub Bot
Created on: 02/Apr/18 19:58
Start Date: 02/Apr/18 19:58
Worklog Time Spent: 10m
Work Description: apilloud opened a new pull request #4991: [BEAM-3983]
[SQL] Tables interface supports BigQuery
URL: https://github.com/apache/beam/pull/4991
A few changes to the tables interface to support adding BigQuery as a table
type.
1. IOWriter outputs the POutput interfaces instead of the PDone type. PDone
is just one of the POutput types, BigQuery has its own implementation of
POutput.
2. Treat Location as a string instead of a URI. The format of a BigQuery
table name is `[PROJECT_ID]:[DATASET].[TABLE]`. Treating the field as a type
specific opaque string allows us to support this format as well.
Followup PR #4947 adds actual BigQuery support.
------------------------
Follow this checklist to help us incorporate your contribution quickly and
easily:
- [X] Make sure there is a [JIRA
issue](https://issues.apache.org/jira/projects/BEAM/issues/) filed for the
change (usually before you start working on it). Trivial changes like typos do
not require a JIRA issue. Your pull request should address just this issue,
without pulling in other changes.
- [X] Format the pull request title like `[BEAM-XXX] Fixes bug in
ApproximateQuantiles`, where you replace `BEAM-XXX` with the appropriate JIRA
issue.
- [X] Write a pull request description that is detailed enough to
understand:
- [X] What the pull request does
- [X] Why it does it
- [X] How it does it
- [X] Why this approach
- [X] Each commit in the pull request should have a meaningful subject line
and body.
- [X] Run `mvn clean verify` to make sure basic checks pass. A more
thorough check will be performed on your pull request automatically.
- [ ] If this contribution is large, please file an Apache [Individual
Contributor License Agreement](https://www.apache.org/licenses/icla.pdf).
----------------------------------------------------------------
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:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 86736)
Time Spent: 10m
Remaining Estimate: 0h
> BigQuery writes from pure SQL
> -----------------------------
>
> Key: BEAM-3983
> URL: https://issues.apache.org/jira/browse/BEAM-3983
> Project: Beam
> Issue Type: New Feature
> Components: dsl-sql
> Reporter: Andrew Pilloud
> Assignee: Andrew Pilloud
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> It would be nice if you could write to BigQuery in SQL without writing any
> java code. For example:
> {code:java}
> INSERT INTO bigquery SELECT * FROM PCOLLECTION{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)