What's the right way of programmatically restarting a structured streaming query which has terminated due to an exception? Example code or reference would be appreciated.
Could it be done from within the onQueryTerminated() event handler of StreamingQueryListener class? Priyank