shenyu0127 opened a new pull request, #10940: URL: https://github.com/apache/pinot/pull/10940
Currently the when the `_limit` is `Integer.MAX_VALUE`, the assertion will fail because of the integer overflow. This bug makes the `MultiStageEngineCustomTenantIntegrationTest` flaky. Tested by rerunning a generated test which previously failed: ``` Error: org.apache.pinot.integration.tests.MultiStageEngineCustomTenantIntegrationTest.testGeneratedQueries Time elapsed: 41.272 s <<< FAILURE! java.lang.AssertionError: Caught exception while testing query! Pinot query: SELECT "CRSDepTime" FROM mytable WHERE "LateAircraftDelay" BETWEEN 291 AND 372 OR "DestState" >= 'ME' GROUP BY "CRSDepTime" LIMIT 10000 H2 query: SELECT `CRSDepTime` FROM mytable WHERE `LateAircraftDelay` BETWEEN 291 AND 372 OR `DestState` >= 'ME' GROUP BY `CRSDepTime` LIMIT 10000 ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org