[ 
https://issues.apache.org/jira/browse/IGNITE-20809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Evgeny Stanilovsky reassigned IGNITE-20809:
-------------------------------------------

    Assignee: Evgeny Stanilovsky

> Sql. NoSuchMethodException with substring.
> ------------------------------------------
>
>                 Key: IGNITE-20809
>                 URL: https://issues.apache.org/jira/browse/IGNITE-20809
>             Project: Ignite
>          Issue Type: Bug
>          Components: sql
>    Affects Versions: 3.0.0-beta1
>            Reporter: Evgeny Stanilovsky
>            Assignee: Evgeny Stanilovsky
>            Priority: Major
>              Labels: ignite-3
>
> {code:java}
> sql(String.format("SELECT substring((SELECT 'aaaaa'), 1, %d + 1)", 
> Long.MAX_VALUE));{code}
>  
> throws inner implementation exception:
> {code:java}
> Caused by: java.lang.NoSuchMethodException: 
> org.apache.calcite.runtime.SqlFunctions.substring(java.lang.String, int, long)
>     at java.base/java.lang.Class.getMethod(Class.java:2108)
>     at 
> org.apache.calcite.adapter.enumerable.EnumUtils.call(EnumUtils.java:658){code}
> Seems we will obtain the same exceptions with all not implemented inner 
> functions.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to