v.24.9New Feature

Add arrayZipUnaligned function for Spark compatibility

Add new function arrayZipUnaligned for spark compatibility (which is named arrays_zip in Spark), which allowed unaligned arrays based on original arrayZip. #69030 (李扬).
Added a new function arrayZipUnaligned that supports unaligned arrays, providing compatibility with Spark's arrays_zip function.

Why it matters

The feature solves the problem of requiring arrays to be aligned in length when using arrayZip. By allowing unaligned arrays, it matches Spark's behavior and improves interoperability and flexibility when processing arrays of different lengths.

How to use it

Use the new function arrayZipUnaligned in your queries in place of arrayZip. It works similarly but allows input arrays of different lengths without truncation to the shortest array.