damccorm opened a new issue, #21485: URL: https://github.com/apache/beam/issues/21485
We should be able to build a deferred operation that calculates the number of groups for GroupBy.ngroups. len(groupby) might be possible ... but I think python will complain if we return something other than an integer (like a deferred operation). If thats the case we should raise an error that directs users to alternatives (e.g. ngroups). Imported from Jira [BEAM-14107](https://issues.apache.org/jira/browse/BEAM-14107). Original Jira may contain additional context. Reported by: yeandy. -- 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]
