v.23.7Improvement

Fix heap overflow bug in third-party product using ClickHouse while reading from HDFS

A third-party product depending on ClickHouse (Gluten: a Plugin to Double Spark SQL's Performance) had a bug. This fix avoids heap overflow in that third-party product while reading from HDFS. #51386 (李扬).
Fix to prevent heap overflow when reading from HDFS, improving compatibility with third-party products like Gluten plugin.

Why it matters

This fix addresses a heap overflow bug encountered by Gluten, a third-party plugin that enhances Spark SQL performance by integrating with ClickHouse. By preventing the overflow during HDFS read operations, it ensures stable and reliable interactions between ClickHouse and external systems relying on HDFS.

How to use it

Users benefit from this fix automatically by upgrading to the ClickHouse version including this patch. No additional configuration is required to avoid heap overflow errors related to HDFS reads.