v.24.9Improvement

Allow Empty Arguments for arrayZip and arrayZipUnaligned for Spark Compatibility

Allow empty arguments for arrayZip/arrayZipUnaligned, as concat did in https://github.com/ClickHouse/ClickHouse/pull/65887. It is for spark compatibility in Gluten CH Backend. #69576 (李扬).
Allow arrayZip and arrayZipUnaligned functions to accept empty arguments, similar to the behavior introduced for concat in a previous update.

Why it matters

This feature improves compatibility with Apache Spark when using the Gluten ClickHouse backend by enabling arrayZip and arrayZipUnaligned to handle empty arrays gracefully, preventing errors and enhancing interoperability.

How to use it

Users can now call arrayZip and arrayZipUnaligned with empty arrays as arguments without additional configuration. No explicit enabling is needed.