flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-4623) Create Physical Execution Plan of a DataStream
Date Mon, 31 Oct 2016 17:02:58 GMT

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

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

Github user fhueske commented on a diff in the pull request:

    https://github.com/apache/flink/pull/2720#discussion_r85783793
  
    --- Diff: flink-libraries/flink-table/src/test/scala/org/apache/flink/api/scala/stream/ExplainStreamTest.scala
---
    @@ -40,9 +40,12 @@ class ExplainStreamTest
           .toTable(tEnv, 'a, 'b)
           .filter("a % 2 = 0")
     
    -    val result = tEnv.explain(table).replaceAll("\\r\\n", "\n")
    +    val result = tEnv.explain(table)
    +      .replaceAll("\\r\\n", "\n").replaceAll("Stage \\d+", "")
    --- End diff --
    
    Please add a comment why you ignore the `Stage` info in the test.


> Create Physical Execution Plan of a DataStream
> ----------------------------------------------
>
>                 Key: FLINK-4623
>                 URL: https://issues.apache.org/jira/browse/FLINK-4623
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table API & SQL
>            Reporter: Timo Walther
>            Assignee: Anton Solovev
>              Labels: starter
>
> The {{StreamTableEnvironment#explain(Table)}} command for tables of a {{StreamTableEnvironment}}
only outputs the abstract syntax tree. It would be helpful if the {{explain}} method could
also generate a string from the {{DataStream}} containing a physical execution plan.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message