Ran Tao created CALCITE-6042: -------------------------------- Summary: Add more tests for ARRAY functions(Spark Library) Key: CALCITE-6042 URL: https://issues.apache.org/jira/browse/CALCITE-6042 Project: Calcite Issue Type: Improvement Reporter: Ran Tao Assignee: Ran Tao
Currently, we support a serials of Spark ARRAY functions such as ARRAY/ARRAY_DISTINCT/ARRAY_EXCEPT/ARRAY_POSITION/ARRAY_CONTAINS... however, the test cases of these functions use calcite array constructor such as {code:java} array_except(array[2], array[2, 3]) {code} We don't have any testcase related to the array function of spark itself, which is actually important. Because the function itself is a function of spark, and the array of spark has some differences in behavior from the array of calcite. # use map(k, v, ...) rather than map[k, v, ...] # allows empty map such as map(); however calcite map constructor not support it. we expect to add some cases like: {code:java} array_except(array(2), array(2, 3)) {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)