-
Notifications
You must be signed in to change notification settings - Fork 11
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
euphoria-local: Allowing persist of intermediate dataset #255
Comments
euphoria/euphoria-local/src/test/java/cz/seznam/euphoria/executor/local/LocalExecutorTest.java Line 628 in 3fe6816
|
Thanks for the report. Does the provided test fail? |
If so, can you please create branch with this failing test? |
Yes, the test fails. Branch: https://github.com/seznam/euphoria/tree/tnovak/persist-test |
Thanks, we'll look into this ;) |
There is fundamental flaw in translation of Flow into runnable DAG. This flaw will be solved by #256, until then I suggest (a slightly suboptimal and highly ugly) workaround:
Dataset<T> data = ... // non-empty
MapElements.of(data).using(e -> e).output().persist(sink);
Dataset<T> FlatMap.of(data)... We will focus on correct solution (#256), but until then, this seems to be the only way out. |
I tried to directly persist intermediate dataset. But the sink is empty:
It seems that indirect
persist
works as expected:Is it possible to either fix it or throw some exception at least?
The text was updated successfully, but these errors were encountered: