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

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

                Author: ASF GitHub Bot
            Created on: 09/Feb/22 02:18
            Start Date: 09/Feb/22 02:18
    Worklog Time Spent: 10m 
      Work Description: TheNeuralBit commented on a change in pull request 
#16788:
URL: https://github.com/apache/beam/pull/16788#discussion_r802215052



##########
File path: sdks/python/apache_beam/dataframe/schemas.py
##########
@@ -275,7 +275,7 @@ def _unbatch_transform(proxy, include_indexes):
 
     return beam.ParDo(
         _UnbatchWithIndex(ctor) if include_indexes else _UnbatchNoIndex(ctor)
-    ).with_output_types(ctor)

Review comment:
       Note this is a workaround I had added, because the override for 
`infer_output_type` did not work (this typehint is verified in schemas_test.py).




-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 723374)
    Time Spent: 20m  (was: 10m)

> ParDo.infer_output_type expects Do.infer_output_type to return Iterable of 
> element_type
> ---------------------------------------------------------------------------------------
>
>                 Key: BEAM-13860
>                 URL: https://issues.apache.org/jira/browse/BEAM-13860
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-py-core
>            Reporter: Brian Hulette
>            Assignee: Brian Hulette
>            Priority: P2
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> ParDo.infer_output_type expects Do.infer_output_type to return Iterable of 
> element_type, but this is inconsistent with every other infer_output_type 
> implementation, which is expected to return the actual element type



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to