Maksim Zhuravkov created IGNITE-22360:
-----------------------------------------

             Summary: Sql. SUBSTRING function should not accept REAL/DOUBLE in 
its numeric arguments.
                 Key: IGNITE-22360
                 URL: https://issues.apache.org/jira/browse/IGNITE-22360
             Project: Ignite
          Issue Type: Bug
          Components: sql
            Reporter: Maksim Zhuravkov


The following queries should be rejected by the validator, because numeric 
arguments other than INTEGER type do not make any sense for this function.
{noformat}
SELECT SUBSTRING('aaa', 1.0);
SELECT SUBSTRING('aaa', 1.0, 2.3)
{noformat}




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

Reply via email to