Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
…#5060) * add support for array_cat in frontend Signed-off-by: Richard Chien <stdrc@outlook.com> * implement ArrayCatExpression Signed-off-by: Richard Chien <stdrc@outlook.com> * wrap single element in frontend Signed-off-by: Richard Chien <stdrc@outlook.com> * add unit tests for array_cat function Signed-off-by: Richard Chien <stdrc@outlook.com> * fix clippy Signed-off-by: Richard Chien <stdrc@outlook.com> * add e2e tests Signed-off-by: Richard Chien <stdrc@outlook.com> * add `array_append` and `array_prepend` in frontend Signed-off-by: Richard Chien <stdrc@outlook.com> * reject (array, array) for array_prepend and array_append Signed-off-by: Richard Chien <stdrc@outlook.com> * implement all logic of array_cat, array_append, array_prepend Signed-off-by: Richard Chien <stdrc@outlook.com> * update tests Signed-off-by: Richard Chien <stdrc@outlook.com> * fix clippy warnings Signed-off-by: Richard Chien <stdrc@outlook.com> * fix e2e tests Signed-off-by: Richard Chien <stdrc@outlook.com> * add planner tests Signed-off-by: Richard Chien <stdrc@outlook.com> * fix warning Signed-off-by: Richard Chien <stdrc@outlook.com> * fix typo Signed-off-by: Richard Chien <stdrc@outlook.com> * improve error messages Signed-off-by: Richard Chien <stdrc@outlook.com> * update planner tests Signed-off-by: Richard Chien <stdrc@outlook.com> * use function pointer as op_func Signed-off-by: Richard Chien <stdrc@outlook.com> * return [[233]] for array_cat(null::int[][], array[233]) Signed-off-by: Richard Chien <stdrc@outlook.com> * add a test for multidimentsional array Signed-off-by: Richard Chien <stdrc@outlook.com> * make `Operation` private Signed-off-by: Richard Chien <stdrc@outlook.com> * adjust match order Signed-off-by: Richard Chien <stdrc@outlook.com> * add comment Signed-off-by: Richard Chien <stdrc@outlook.com> Signed-off-by: Richard Chien <stdrc@outlook.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
- Loading branch information