Github user fhueske commented on a diff in the pull request:
https://github.com/apache/flink/pull/4846#discussion_r145268307
--- Diff:
flink-libraries/flink-table/src/test/scala/org/apache/flink/table/api/stream/sql/CorrelateTest.scala
---
@@ -102,6 +112,22 @@ 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 to `validation.CorrelateValidationTest`
---