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

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

                Author: ASF GitHub Bot
            Created on: 09/Jan/19 06:59
            Start Date: 09/Jan/19 06:59
    Worklog Time Spent: 10m 
      Work Description: VaclavPlajt commented on pull request #7399: 
[BEAM-6350] Reuse PCollectionView when created in translators
URL: https://github.com/apache/beam/pull/7399#discussion_r246275705
 
 

 ##########
 File path: 
sdks/java/extensions/euphoria/src/main/java/org/apache/beam/sdk/extensions/euphoria/core/translate/EuphoriaOptions.java
 ##########
 @@ -60,4 +70,13 @@ public TranslatorProvider create(PipelineOptions options) {
   AccumulatorProvider.Factory getAccumulatorProviderFactory();
 
   void setAccumulatorProviderFactory(AccumulatorProvider.Factory 
accumulatorProviderFactory);
+
+  @Description("Map of known PCollectionViews")
+  @Default.InstanceFactory(DefaultPCollectionViewStoreFactory.class)
+  @JsonIgnore
+  @Internal
+  PViewsStore getPCollectionViewsStore();
+
+  @Internal
+  void setPCollectionViewsStore(PViewsStore pCollectionViewsStore);
 
 Review comment:
   Yes, I agree. But Gradle complains during build that there is a missing 
setter. Is there a way of circumventing it?
   The `PViewsStore` will be skipped completely. As a conclusion of mutual 
discussion.
 
----------------------------------------------------------------
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: 182895)
    Time Spent: 50m  (was: 40m)

> Reuse same PCollectionView when created in translators 
> -------------------------------------------------------
>
>                 Key: BEAM-6350
>                 URL: https://issues.apache.org/jira/browse/BEAM-6350
>             Project: Beam
>          Issue Type: Improvement
>          Components: dsl-euphoria
>    Affects Versions: 2.11.0
>            Reporter: Marek Simunek
>            Assignee: David Moravek
>            Priority: Major
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> If for LeftJoin is used BroadcastHashJoinTranslator then from right side is 
> created PCollectionView (as sideInput).
> If we use right side in multiple joins then PCollectionView  is created 
> multiple times which is not optimal behavior.
> Eg.
> {code:java}
> LeftJoin.of(left, right)..
> LeftJoin.of(anotherLeftPcollection, right)..
> {code}
>  For example it will happen when we want to solve skew Join.



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

Reply via email to