xiedeyantu commented on PR #4751:
URL: https://github.com/apache/calcite/pull/4751#issuecomment-3765213267
I don't know why this case sometimes fails; it's probably because something
wasn't handled properly.
```
org.apache.calcite.test.JdbcAdapterTest > testInPlan() failure marker
FAILURE 0.1sec, org.apache.calcite.test.JdbcAdapterTest > testInPlan()
java.lang.AssertionError: Execution plan for sql select "store_id",
"store_name" from "store"
where "store_name" in ('Store 1', 'Store 10', 'Store 11', 'Store 15',
'Store 16', 'Store 24', 'Store 3', 'Store 7')
Expected: is "SELECT \"store_id\", \"store_name\"\nFROM
\"foodmart\".\"store\"\nWHERE \"store_name\" IN ('Store 1', 'Store 10', 'Store
11', 'Store 15', 'Store 16', 'Store 24', 'Store 3', 'Store 7')"
but: was "SELECT \"store_id\", \"store_name\"\nFROM
\"foodmart\".\"store\""
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:18)
at
org.apache.calcite.test.CalciteAssert$AssertQuery.planContains(CalciteAssert.java:1770)
at
org.apache.calcite.test.CalciteAssert$AssertQuery.planHasSql(CalciteAssert.java:1781)
at
org.apache.calcite.test.JdbcAdapterTest.testInPlan(JdbcAdapterTest.java:189)
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]