Evgeny Stanilovsky created IGNITE-26779:
-------------------------------------------

             Summary: Sql. Query with dynamic character parameters fails
                 Key: IGNITE-26779
                 URL: https://issues.apache.org/jira/browse/IGNITE-26779
             Project: Ignite
          Issue Type: Bug
          Components: sql ai3
    Affects Versions: 3.0
            Reporter: Evgeny Stanilovsky
             Fix For: 3.2


pseudo code :

{noformat}
sql("CREATE TABLE t(key int primary key, val varchar)");
sql("select * from t where val > ? and val < ?", 'a', 'd');
{noformat}

will fail with :

{noformat}
Caused by: org.apache.ignite.sql.SqlException: IGN-SQL-4 Unsupported dynamic 
parameter defined. Provided 'java.lang.Character' is not supported. 
TraceId:ff7fa92b
        at 
org.apache.ignite.internal.sql.engine.exec.fsm.ValidationHelper.validateDynamicParameters(ValidationHelper.java:67)
{noformat}





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

Reply via email to