[ 
https://issues.apache.org/jira/browse/CALCITE-1418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15556221#comment-15556221
 ] 

Julian Hyde commented on CALCITE-1418:
--------------------------------------

Looks good. However, can you also add an end-to-end test? 
{{SqlOperatorBaseTest.testSubstringFunction}} would be a good place. Let me 
know when you've updated the patch.

> SUBSTRING function with binary doesn't work
> -------------------------------------------
>
>                 Key: CALCITE-1418
>                 URL: https://issues.apache.org/jira/browse/CALCITE-1418
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.9.0
>            Reporter: Jungtaek Lim
>            Assignee: Jungtaek Lim
>
> Calling SUBSTRING(binary FROM int) and SUBSTRING(binary FROM int FOR int) is 
> failing. While failing it complains that there're no matching 
> SqlFunctions.substring(ByteString, int) and 
> SqlFunctions.substring(ByteString, int, int).
> Could be simple fix.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to