Dwrite commented on PR #4877:
URL: https://github.com/apache/calcite/pull/4877#issuecomment-4352975681

   > So are there tests for more complex nested data types? For example 
`ARRAY[ARRAY[1]] IN SOME(SELECT ARRAY[ARRAY[1.0]])`?
   
   yeah. I have added several test cases covering more complex nested data 
types to ensure the robustness of the type coercion mechanism.
   
   For instance, I included scenarios like ARRAY[ARRAY[1]] IN SOME(SELECT 
ARRAY[ARRAY[1.0]]). These tests verify that the type system correctly handles 
nested array dimensions and implicit type promotion (e.g., INTEGER to DECIMAL) 
during the SOME/ANY quantification process. This helps in explicitly defining 
the supported boundaries and preventing unexpected behavior with 
multi-dimensional data structures.


-- 
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