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

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

                Author: ASF GitHub Bot
            Created on: 20/Oct/20 16:22
            Start Date: 20/Oct/20 16:22
    Worklog Time Spent: 10m 
      Work Description: TheNeuralBit commented on a change in pull request 
#13066:
URL: https://github.com/apache/beam/pull/13066#discussion_r508667777



##########
File path: sdks/python/apache_beam/dataframe/convert.py
##########
@@ -67,7 +69,28 @@ def to_dataframe(
       expressions.PlaceholderExpression(proxy, pcoll))
 
 
+# PCollections generated by to_pcollection are memoized.
+# WeakValueDictionary is used so the caches are cleaned up with the parent
+# pipelines

Review comment:
       Good idea, added that language




----------------------------------------------------------------
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: 502765)
    Time Spent: 1h 40m  (was: 1.5h)

> to_pcollection should memoize on DF expressions
> -----------------------------------------------
>
>                 Key: BEAM-11052
>                 URL: https://issues.apache.org/jira/browse/BEAM-11052
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-py-core
>            Reporter: Brian Hulette
>            Assignee: Brian Hulette
>            Priority: P2
>          Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> We should always return the same PCollection when `to_pcollection` is called 
> multiple times with the same input, this will allow for better integration 
> with interactive notebooks.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to