danny0405 commented on a change in pull request #1188: [CALCITE-3034] CSV test
case description does not match it's code logic
URL: https://github.com/apache/calcite/pull/1188#discussion_r281009163
##########
File path: example/csv/src/test/java/org/apache/calcite/test/CsvTest.java
##########
@@ -297,6 +297,16 @@ private static StringBuilder escapeString(StringBuilder
buf, String s) {
.returns("EMPNO=130; GENDER=F; NAME=Alice").ok();
}
+ /** Filter that can be slightly handled by CsvFilterableTable. */
+ @Test public void testFilterableWhere3() throws SQLException {
+ final String sql = "select empno, gender, name from EMPS\n"
+ + " where gender = 'F' or empno > 125";
+ sql("filterable-model", sql)
Review comment:
Why we update our code with `AND` while the test case sql is with `OR`, i
kind of confused.
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services