New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BEAM-2314] Add ValidatesRunner test for merging custom windows #3286
Conversation
Pre-commit seems to be failing. |
Run Flink ValidatesRunner |
Run Spark ValidatesRunner |
Run Apex ValidatesRunner |
Run Gearpump ValidatesRunner |
retest this please |
@echauchot I'm afraid you have to introduce an exclusion (similar to |
@aljoscha: strange, the pre-commit tests were passing and I changed nothing, I'll dig into it, maybe my test is flaky. For your question about Spark runner: it runs NexMark query9 (custom window merging) correctly in both batch and streaming modes. Maybe there is something different from Nexmark query in my |
Run Spark ValidatesRunner |
The spark tests still seem to be failing. Any news? Maybe @aviemzur has an idea what could be going on? |
Hi @aljoscha, I have switched to other ongoing things. I think it is related to the way I use the custom coder that generates a class cast. I'll discuss with Aviem about that particular point. |
Run Apex ValidatesRunner |
Run Gearpump ValidatesRunner |
Run Flink ValidatesRunner |
Seems that after all the coder is not the problem: the problem is that Spark runner casts the CustomWindow to IntervalWindow in the merge process, hence the serialization issue with the CustomWindow downstream. I'm investigating how to fix that up. |
Gonna take a look. R: @jbonofre |
I opened an issue on the spark runner side to fix custom window merging (https://issues.apache.org/jira/browse/BEAM-2499) |
From my side the test looks good. We could think about adding it to Regarding the Spark runner, this needs either an exclusion or a fix. |
Thanks @aljoscha. I agree, it is better to put this test with the other window related tests. I'll also add a new category interface to skip this test in runners that don't support it |
4008bca
to
40507b9
Compare
Done and rebased on master |
import org.apache.beam.sdk.transforms.ParDo; | ||
|
||
/** | ||
* Category tag for validation tests which utilize splittable {@link ParDo}. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this comment was not properly adapted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My bad, bad copy/paste :) Thanks for pointing !
Run Flink ValidatesRunner |
Run Spark ValidatesRunner |
retest this please |
Run Flink ValidatesRunner |
Spark Runner Validates runner failed with |
Run Spark ValidatesRunner |
Run Spark ValidatesRunner |
Spark Runner ValidatesRunner tests errors above are not related to this PR, they are not related to custom window merging. I think we could merge the PR if you are ok. |
Run Spark ValidatesRunner |
Run Flink ValidatesRunner |
1 similar comment
Run Flink ValidatesRunner |
LGTM on excluding |
165361d
to
9e638d0
Compare
Above validatesRunner tests failures are not related to this PR. See these tickets: |
R: @aviemzur |
Run Flink ValidatesRunner |
Run Spark ValidatesRunner |
Merged based on @amitsela LGTM |
Be sure to do all of the following to help us incorporate your contribution
quickly and easily:
[BEAM-<Jira issue #>] Description of pull request
mvn clean verify
.<Jira issue #>
in the title with the actual Jira issuenumber, if there is one.
Individual Contributor License Agreement.
@aljoscha I reopened a new PR to test that jenkins integration is working again as requested
R: @aljoscha
CC: @jbonofre