druid/extensions-core/parquet-extensions
Gian Merlino 28f8bcce9b
Always reopen stream in FileUtils.copyLarge, RetryingInputStream. (#12307)
* Always reopen stream in FileUtils.copyLarge, RetryingInputStream.

When an InputStream throws an exception from one of its read methods,
we should assume it's bad and reopen it.

The main changes here are:

- In FileUtils.copyLarge, replace InputStream with InputStreamSupplier.
- In RetryingInputStream, collapse retryCondition and resetCondition
  into a single condition. Also, make it required, since every usage
  is passing in a specific condition anyway.

* Test fixes.

* Fix read impl.
2022-03-05 14:39:14 -08:00
..
example Support JsonPath functions in JsonPath expressions (#11722) 2021-12-10 10:53:23 +08:00
src Always reopen stream in FileUtils.copyLarge, RetryingInputStream. (#12307) 2022-03-05 14:39:14 -08:00
pom.xml Support for hadoop 3 via maven profiles (#11794) 2021-10-30 22:46:24 +05:30