danny0405 commented on a change in pull request #13577: URL: https://github.com/apache/flink/pull/13577#discussion_r505141222
########## File path: flink-table/flink-table-planner/src/test/scala/org/apache/flink/table/api/stream/table/CalcTest.scala ########## @@ -114,11 +114,13 @@ class CalcTest extends TableTestBase { val resultTable = sourceTable.select('a, 'b, 'c) .where((1 to 30).map($"b" === _).reduce((ex1, ex2) => ex1 || ex2) && ($"c" === "xx")) + val operands = "Sarg[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, " + Review comment: They are equivalent, we can use the `RexUtil.expandSearch` to convert it to `=(c, 'xx')`. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org