Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fix](trino-connector) Fix the problem of reading the
DATE
type fro…
…m Trino too slowly (#37266) Previously, we use `LocalDate.parse(DateTimeUtils.printDate(block.getInt(position, 0)), DateTimeFormatter.ISO_DATE)` to handle DATE type from Trino. Now, we use `LocalDate.ofEpochDay(block.getInt(position, 0))` to handle DATE type from Trino. This will result in a 20-fold speed improvement.
- Loading branch information