Changed the behavior of "DataSet.print()"

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Changed the behavior of "DataSet.print()"

Stephan Ewen
Hi all!

Me merged a patch yesterday that changed the API behavior of the "DataSet.print()" function.

"print()" now prints to stdout on the client process, rather than the TaskManager process, as before. This is much nicer for debugging and exploring data sets.

One implication of this is that print() is now an eager method ( like collect() or count() ). That means that calling "print()" immediately triggers the execution, and no "env.execute()" is required any more.

Greetings,
Stephan