Skip to content

Write to standard out regularly instead of just the end of the process #19

Description

@SebastianArcq

When processing big tables there can be a long time when Sling sits on "INF streaming data". Only when everything is streamed then the output is written to the terminal. So in practice there can be minutes / hours where nothing seems to be happening, and at the very end the entire log (e.g., 7m57s 22,083,410 46359 r/s) is dumped.

For my own projects I have successfully followed the suggestion from this Stackoverflow article, i.e., to call sys.stdout.flush() regularly - maybe that's the solution here as well!

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions