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

[jira] [Created] (IGNITE-17165) ItProjectScanMergeRuleTest fails on Windows platform

Vyacheslav Koptilin created IGNITE-17165:
--------------------------------------------

             Summary: ItProjectScanMergeRuleTest fails on Windows platform
                 Key: IGNITE-17165
                 URL: https://issues.apache.org/jira/browse/IGNITE-17165
             Project: Ignite
          Issue Type: Bug
            Reporter: Vyacheslav Koptilin


The ItProjectScanMergeRuleTest.testProjects fails with the following error message:

{noformat}
java.lang.AssertionError: Invalid plan:
IgniteExchange(distribution=[single]): rowcount = 1.0, cumulative cost = IgniteCost [rowCount=2.0, cpu=5.0, memory=0.0, io=0.0, network=4.0], id = 23507
  IgniteTableScan(table=[[PUBLIC, PRODUCTS]], tableId=[feaccfde-5e54-4e25-a911-7f7015c9a81e], tableVer=[1], filters=[>($t0, 1)], projects=[[$t1]], requiredColumns=[{2, 5}]): rowcount = 1.0, cumulative cost = IgniteCost [rowCount=1.0, cpu=4.0, memory=0.0, io=0.0, network=0.0], id = 23504

Expected: a string contains ".*Ignite(Table|Index)Scan\\(table=\\[\\[PUBLIC, PRODUCTS\\]\\], .*requiredColumns=\\[\\{2, 5\\}\\].*"
     but: was "IgniteExchange(distribution=[single]): rowcount = 1.0, cumulative cost = IgniteCost [rowCount=2.0, cpu=5.0, memory=0.0, io=0.0, network=4.0], id = 23507
  IgniteTableScan(table=[[PUBLIC, PRODUCTS]], tableId=[feaccfde-5e54-4e25-a911-7f7015c9a81e], tableVer=[1], filters=[>($t0, 1)], projects=[[$t1]], requiredColumns=[{2, 5}]): rowcount = 1.0, cumulative cost = IgniteCost [rowCount=1.0, cpu=4.0, memory=0.0, io=0.0, network=0.0], id = 23504
"
{noformat}

The root cause is that _QueryChecker_ uses "\n" as a line separator instead of "\r\n"



--
This message was sent by Atlassian Jira
(v8.20.7#820007)