[ 
https://issues.apache.org/jira/browse/BEAM-11839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17338684#comment-17338684
 ] 

Brian Hulette commented on BEAM-11839:
--------------------------------------

This was mostly addressed in pr/14566. There were a couple of TODOs there 
around the agg method, which will be closed in 
https://github.com/apache/beam/pull/14438

> Attach a "reason" message to Singleton partitioning
> ---------------------------------------------------
>
>                 Key: BEAM-11839
>                 URL: https://issues.apache.org/jira/browse/BEAM-11839
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-py-core
>            Reporter: Brian Hulette
>            Priority: P2
>              Labels: dataframe-api
>          Time Spent: 8h 20m
>  Remaining Estimate: 0h
>
> When Singleton partitioning is required, we should be able to attach a reason 
> to it so we can raise a helpful message to the user later, e.g.  
> {{partitionings.Singleton(reason="Only 'pearson' correlation can be computed 
> in a distributed manner, other methods require Singleton partitioning")}}



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

Reply via email to