[
https://issues.apache.org/jira/browse/IGNITE-23008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17893485#comment-17893485
]
Ignite TC Bot commented on IGNITE-23008:
----------------------------------------
{panel:title=Branch: [pull/11606/head] Base: [master] : No blockers
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/11606/head] Base: [master] : New Tests
(3)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}Calcite SQL{color} [[tests
3|https://ci2.ignite.apache.org/viewLog.html?buildId=8129419]]
* {color:#013220}IgniteCalciteTestSuite:
KeepBinaryIntegrationTest.testDynamicParameters[sqlTxMode=ALL] - PASSED{color}
* {color:#013220}IgniteCalciteTestSuite:
KeepBinaryIntegrationTest.testDynamicParameters[sqlTxMode=NONE] - PASSED{color}
* {color:#013220}IgniteCalciteTestSuite:
KeepBinaryIntegrationTest.testDynamicParameters[sqlTxMode=RANDOM] -
PASSED{color}
{panel}
[TeamCity *--> Run :: All*
Results|https://ci2.ignite.apache.org/viewLog.html?buildId=8119887&buildTypeId=IgniteTests24Java8_RunAll]
> Calcite engine. Object dynamic parameters are not converted to binary objects
> -----------------------------------------------------------------------------
>
> Key: IGNITE-23008
> URL: https://issues.apache.org/jira/browse/IGNITE-23008
> Project: Ignite
> Issue Type: Bug
> Reporter: Aleksey Plekhanov
> Assignee: Aleksey Plekhanov
> Priority: Major
> Labels: calcite, ise
> Time Spent: 3h 10m
> Remaining Estimate: 0h
>
> Objects inside Ignite are stored in binary object format. When we pass
> dynamic parameters to the query, we left compound objects as is. These
> objects can't be compared with objects inside cache. For example:
> {code:java}
> IgniteCache<Integer, Employer> emp = client.getOrCreateCache(
> new CacheConfiguration<Integer, Employer>("emp")
> .setSqlSchema("PUBLIC")
> .setQueryEntities(F.asList(new QueryEntity(Integer.class,
> Employer.class).setTableName("emp")))
> );
> emp.put(0, new Employer("emp", 0d));
> assertQuery("SELECT _key FROM emp WHERE _val = ?").withParams(new
> Employer("emp", 0d)).resultSize(1).check();
> {code}
> This query returns 0 rows.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)