liuyongvs commented on PR #3238:
URL: https://github.com/apache/calcite/pull/3238#issuecomment-1581923467

   because both of you @tanclary @MasseGuillaume says add array with different 
element type, it will throw exception.
   i add
   
   ```
      f.checkFails("map_from_arrays(^array[1, '1', true]^, array['a', 'b', 
'c'])",
           "Parameters must be of the same type",
           false);
       f.checkFails("map_from_arrays(array['a', 'b', 'c'], ^array[1, '1', 
true]^)",
           "Parameters must be of the same type",
           false);
   ```
   
   and from my side, it should be test in array_value_constructor function 
instead of this. i also add test in array_value_constructor
   ```
       f.checkFails("^array[1, '1', true]^", "Parameters must be of the same 
type", false);
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to