You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Yury Gerzhedovich (Jira)" <ji...@apache.org> on 2022/12/14 16:31:00 UTC

[jira] [Updated] (IGNITE-18414) SQL. Cannot use BigInteger class as parameters for query

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

Yury Gerzhedovich updated IGNITE-18414:
---------------------------------------
    Description: 
imple broken scenario looks as
{code:java}
assertQuery("SELECT typeof( ? )").withParams(BigInteger.valueOf(1)).returns(toSqlType(NUMBER)).check();{code}
In the case we have the following error:
{code:java}
org.opentest4j.AssertionFailedError: Collections are not equal (position 0):
Expected: [NUMBER]
Actual:   [RecordType()] {code}
h4.  

  was:
imple broken scenario looks as
{code:java}
 {code}
assertQuery("SELECT typeof(?)").withParams(BigInteger.valueOf(1)).returns(toSqlType(
NUMBER)).check();;
{code:java}
 {code}
In the case we have the following error:
{code:java}
org.opentest4j.AssertionFailedError: Collections are not equal (position 0):
Expected: [NUMBER]
Actual:   [RecordType()] {code}
h4.


> SQL. Cannot use BigInteger class as parameters for query
> --------------------------------------------------------
>
>                 Key: IGNITE-18414
>                 URL: https://issues.apache.org/jira/browse/IGNITE-18414
>             Project: Ignite
>          Issue Type: Bug
>          Components: sql
>            Reporter: Yury Gerzhedovich
>            Priority: Major
>
> imple broken scenario looks as
> {code:java}
> assertQuery("SELECT typeof( ? )").withParams(BigInteger.valueOf(1)).returns(toSqlType(NUMBER)).check();{code}
> In the case we have the following error:
> {code:java}
> org.opentest4j.AssertionFailedError: Collections are not equal (position 0):
> Expected: [NUMBER]
> Actual:   [RecordType()] {code}
> h4.  



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