arangodb / release-test-automation

9 stars 2 forks source link

adding UDF sorting test #490

Open MDAlFattah opened 4 months ago

MDAlFattah commented 4 months ago

Scope & Purpose

This PR introduces a new test (801_udf.js) to validate the sorting order of Unicode characters using a User-Defined Function (UDF) in ArangoDB. The purpose of this test is to ensure the consistency of sorting behavior across different versions of ArangoDB, specifically in the context of Unicode character handling. This validation is crucial following an upgrade to the ICU library in version 3.12, which may affect sorting and comparison results in indexes.

The main objectives of this test are:

To define and register a UDF (MYFUNCTIONS::SORT_UNICODE) that sorts an array of Unicode characters. To verify that the sorting order produced by the UDF is consistent across different versions of ArangoDB. To ensure that the UDF works correctly and produces the expected output across different versions.

Checklist