You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Eliminate endless busy looping in read_json_files on failed read (#1489)
## What changes are proposed in this pull request?
This PR ensures that at most one error is emitted for the Arrow Json
Reader. In the past, this would endlessly produce error variants since
it only terminates upon EOF.
Link to the Arrow [`read`
function](https://arrow.apache.org/rust/arrow_json/reader/struct.Reader.html#method.read)
that shows it only terminates on an EOF.
Fixes: #1050
<!--
Uncomment this section if there are any changes affecting public APIs:
### This PR affects the following public APIs
If there are breaking changes, please ensure the `breaking-changes`
label gets added by CI, and describe why the changes are needed.
Note that _new_ public APIs are not considered breaking.
-->
## How was this change tested?
This takes the repro and ensures that shutting down the tokio runtime
will never timeout. A tokio runtime timeout indicates that one of the
threads never stops.
0 commit comments