[NO ISSUE][FUN] Fix type inference in JListAccessor - user model changes: no - storage format changes: no - interface changes: no
Details: As the list element type is available, there is no need to deserialize element types from the data. Doing so, for example, will cause the object type to be fully open type and closed fields to be recognized as open fields. This will further cause NPE in UDFs. Modified the upperCase test case to check this issue.
[ASTERIXDB-2096][COMP] Fix type casting for ExternalFunction - user model changes: no - storage format changes: no - interface changes: no
Details: 1. The current IntroduceDynamicTypeCastForExternalFunctionRule cannot handle external function calls in nested record constructor. This patch fix this issue by visiting all nested parameters for external functions. 2. The ResultExtractor should be able to handle multiple queries in single statement file as AQL does.