[
https://issues.apache.org/jira/browse/ASTERIXDB-2416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dmitry Lychagin resolved ASTERIXDB-2416.
----------------------------------------
Resolution: Fixed
> Confusing type mismatch error message for internal field access and
> collection functions
> ----------------------------------------------------------------------------------------
>
> Key: ASTERIXDB-2416
> URL: https://issues.apache.org/jira/browse/ASTERIXDB-2416
> Project: Apache AsterixDB
> Issue Type: Bug
> Components: FUN - Functions
> Reporter: Dmitry Lychagin
> Assignee: Dmitry Lychagin
> Priority: Minor
>
> Type mismatch error for internal functions can be confusing for users because
> it includes the internal function name which is not present in the query.
> For example,
> Error: function field-access-by-name expects its 1st input parameter to be
> type object but the actual input type is string
> The proposal is to eliminate function name and parameter number from the
> error message for the following internal functions: any-collection-member(),
> scan-collection(), field-access-by-index(), field-access-by-name(),
> field-access-nested()
> The source location information should be sufficient for user to identify the
> problem.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)