[ 
https://issues.apache.org/jira/browse/IGNITE-28331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18071356#comment-18071356
 ] 

Ignite TC Bot commented on IGNITE-28331:
----------------------------------------

{panel:title=Branch: [ignite-28331] Base: [master] : No blockers 
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [ignite-28331] Base: [master] : New Tests 
(11)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}Calcite SQL 3{color} [[tests 
11|https://ci2.ignite.apache.org/viewLog.html?buildId=8981790]]
* {color:#013220}IgniteCalciteTestSuite3: SelectByKeyFieldTest.testSimplePk - 
PASSED{color}
* {color:#013220}IgniteCalciteTestSuite3: 
SelectByKeyFieldTest.testCompositePkWithKeyTypeAndBinaryObject - PASSED{color}
* {color:#013220}IgniteCalciteTestSuite3: SelectByKeyFieldTest.testCompositePk 
- PASSED{color}
* {color:#013220}IgniteCalciteTestSuite3: 
SelectByKeyFieldTest.testSimplePkAfterAddColumn - PASSED{color}
* {color:#013220}IgniteCalciteTestSuite3: 
SelectByKeyFieldTest.testCompositePkAfterDropColumn - PASSED{color}
* {color:#013220}IgniteCalciteTestSuite3: 
SelectByKeyFieldTest.testSimplePkAfterDropColumn - PASSED{color}
* {color:#013220}IgniteCalciteTestSuite3: 
SelectByKeyFieldTest.testCompositePkAfterAddColumn - PASSED{color}
* {color:#013220}IgniteCalciteTestSuite3: 
SelectByKeyFieldTest.testCompositePkWithOrderByKey - PASSED{color}
* {color:#013220}IgniteCalciteTestSuite3: 
SelectByKeyFieldTest.testCompositePkWithMinMaxByKey - PASSED{color}
* {color:#013220}IgniteCalciteTestSuite3: 
SelectByKeyFieldTest.testCompositePkSearchByPartOfKEy - PASSED{color}
* {color:#013220}IgniteCalciteTestSuite3: 
SelectByKeyFieldTest.testCompositePkWithDifferentCmpOperations - PASSED{color}
... and 0 new tests

{panel}
[TeamCity *--> Run :: All* 
Results|https://ci2.ignite.apache.org/viewLog.html?buildId=8981805&buildTypeId=IgniteTests24Java8_RunAll]

> Fix SQL select by _key for a composite pk in Calcite engine
> -----------------------------------------------------------
>
>                 Key: IGNITE-28331
>                 URL: https://issues.apache.org/jira/browse/IGNITE-28331
>             Project: Ignite
>          Issue Type: Bug
>    Affects Versions: 2.17
>            Reporter: Kirill Tkalenko
>            Assignee: Kirill Tkalenko
>            Priority: Major
>              Labels: ignite-2
>          Time Spent: 8h
>  Remaining Estimate: 0h
>
> I discovered that for a simple pk (consisting of one column), queries like 
> "select name from person where _key = ?" use the pk index with a single-value 
> lookup.
> However, if the pk is composite, a full scan of the primary key index will be 
> used. This is neither obvious nor efficient; this needs to be fixed for the 
> Calcite engine.



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

Reply via email to