[ 
https://issues.apache.org/jira/browse/FLINK-7854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16208540#comment-16208540
 ] 

ASF GitHub Bot commented on FLINK-7854:
---------------------------------------

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`


> Reject lateral table outer joins with predicates in SQL
> -------------------------------------------------------
>
>                 Key: FLINK-7854
>                 URL: https://issues.apache.org/jira/browse/FLINK-7854
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Table API & SQL
>            Reporter: Xingcan Cui
>            Assignee: Xingcan Cui
>            Priority: Blocker
>             Fix For: 1.4.0
>
>
> Due to CALCITE-2004, lateral table outer joins can not be normally executed. 
> We should cover it up by rejecting join predicates temporarily, until the 
> issue is fixed in Calcite.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to