Github user fhueske commented on a diff in the pull request:
https://github.com/apache/flink/pull/4846#discussion_r145267860
--- Diff:
flink-libraries/flink-table/src/test/scala/org/apache/flink/table/api/batch/sql/CorrelateTest.scala
---
@@ -102,6 +107,23 @@ class CorrelateTest extends TableTestBase {
util.verifySql(sqlQuery, expected)
}
+ /**
+ * Due to the improper translation of TableFunction left outer join
(see CALCITE-2004), we can
+ * only accept literal true as the predicate for lateral table left
outer join.
+ */
+ @Test (expected = classOf[ValidationException])
+ def testLeftOuterJoinWithPredicates(): Unit = {
--- End diff --
Please move this test method to `validation.CorrelateValidationTest`
---