tajo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hyunsik Choi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TAJO-215) Catalog should allow compatible types when finding functions
Date Sun, 29 Sep 2013 13:53:23 GMT

    [ https://issues.apache.org/jira/browse/TAJO-215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13781379#comment-13781379

Hyunsik Choi commented on TAJO-215:

This problem is also caused when a function is called with NULL parameters. For example, consider
regexp_replace as follows:
select regexp_replace(null, '^AB', 'ab') as result;

This expression will find a function whose parameter type is (null type, text, text). This
call cannot find regexp_replace(text, text, text) function.

> Catalog should allow compatible types when finding functions
> ------------------------------------------------------------
>                 Key: TAJO-215
>                 URL: https://issues.apache.org/jira/browse/TAJO-215
>             Project: Tajo
>          Issue Type: Bug
>          Components: catalog
>            Reporter: Hyunsik Choi
> Current catalog is strong typed. Given a find request, it only can search for a certain
function with the same argument types. However, in many cases, catalog should find functions
with compatible parameter types.

This message was sent by Atlassian JIRA

View raw message