[
https://issues.apache.org/jira/browse/BEAM-4044?focusedWorklogId=98613&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-98613
]
ASF GitHub Bot logged work on BEAM-4044:
----------------------------------------
Author: ASF GitHub Bot
Created on: 04/May/18 22:36
Start Date: 04/May/18 22:36
Worklog Time Spent: 10m
Work Description: apilloud commented on a change in pull request #5224:
[BEAM-4044] [SQL] Add tables via TableStore in Schema, execute DDL in Calcite
model
URL: https://github.com/apache/beam/pull/5224#discussion_r186236524
##########
File path:
sdks/java/extensions/sql/src/main/java/org/apache/beam/sdk/extensions/sql/impl/rel/BeamJoinRel.java
##########
@@ -369,8 +370,8 @@ private Row buildNullRow(BeamRelNode relNode) {
private PCollection<Row> joinAsLookup(
BeamRelNode leftRelNode,
BeamRelNode rightRelNode,
- PCollectionTuple inputPCollections) {
- PCollection<Row> factStream =
inputPCollections.apply(leftRelNode.toPTransform());
+ PInput inputPCollections) {
+ PCollection<Row> factStream =
inputPCollections.getPipeline().apply(leftRelNode.toPTransform());
Review comment:
The current model is wrong, the new model is wrong. I've dropped this change
and just added another `PCollectionTuple.empty(input.getPipeline())`. We can
discuss the right way to do it as a followup.
----------------------------------------------------------------
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: 98613)
Time Spent: 14h (was: 13h 50m)
> Take advantage of Calcite DDL
> -----------------------------
>
> Key: BEAM-4044
> URL: https://issues.apache.org/jira/browse/BEAM-4044
> Project: Beam
> Issue Type: New Feature
> Components: dsl-sql
> Reporter: Andrew Pilloud
> Assignee: Andrew Pilloud
> Priority: Major
> Time Spent: 14h
> Remaining Estimate: 0h
>
> In Calcite 1.15 support for abstract DDL moved into calcite core. We should
> take advantage of that.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)