You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/06/03 18:40:55 UTC
[GitHub] [beam] kennknowles opened a new issue, #18501: Support Custom Windows in Spark runner
kennknowles opened a new issue, #18501:
URL: https://github.com/apache/beam/issues/18501
If we extend `IntervalWindow` and we try to merge these custom windows like in this PR:
https://github.com/apache/beam/pull/3286
Then spark runner fails with
`org.apache.beam.sdk.Pipeline$PipelineExecutionException: java.lang.ClassCastException: org.apache.beam.sdk.transforms.windowing.IntervalWindow cannot be cast to org.apache.beam.sdk.transforms.windowing.MergingCustomWindowsTest$CustomWindow`
It seems to be because of the cast to `IntervalWindow` there: https://github.com/apache/beam/blob/master/runners/spark/src/main/java/org/apache/beam/runners/spark/translation/SparkGlobalCombineFn.java#L111
Imported from Jira [BEAM-2499](https://issues.apache.org/jira/browse/BEAM-2499). Original Jira may contain additional context.
Reported by: echauchot.
--
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: github-unsubscribe@beam.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org