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-6745) Table API / SQL Docs: Overview Page
Date Wed, 31 May 2017 13:59:04 GMT

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

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

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

    https://github.com/apache/flink/pull/4013#discussion_r119360977
  
    --- Diff: docs/dev/tableApi.md ---
    @@ -61,21 +45,38 @@ The following dependency must be added to your project in order to
use the Table
     </dependency>
     {% endhighlight %}
     
    -*Note: The Table API is currently not part of the binary distribution. See linking with
it for cluster execution [here]({{ site.baseurl }}/dev/linking.html).*
    +In addition, you need to add a dependency for either Flink's Scala batch or streaming
API. For a batch query you need to add:
    +
    +{% highlight xml %}
    +<dependency>
    +  <groupId>org.apache.flink</groupId>
    +  <artifactId>flink-scala{{ site.scala_version_suffix }}</artifactId>
    +  <version>{{site.version }}</version>
    +</dependency>
    +{% endhighlight %}
    +
    +For a streaming query you need to add:
    +
    +{% highlight xml %}
    +<dependency>
    +  <groupId>org.apache.flink</groupId>
    +  <artifactId>flink-streaming-scala{{ site.scala_version_suffix }}</artifactId>
    +  <version>{{site.version }}</version>
    +</dependency>
    +{% endhighlight %}
     
    -**TODO: Rework and add:**
    -* Project dependencies (flink-table + flink-scala or flink-streaming-scala)
    -* Copy `./opt/flink-table.jar` to `./lib`
    +**Note:** Due to an issue in Apache Calcite, which prevents the user classloaders from
being garbage-collected, we do *not* recommend to build a fat-jar the includes the `flink-table`
dependency. Instead, we recommend to configure Flink to include the `flink-table` dependency
in the system classloader. This can be done by copying the `flink-table.jar` file from the
`./opt` folder to the `./lib` folder. See [these instructions]({{ site.baseurl }}/dev/linking.html)
for further details.
    --- End diff --
    
    ... we do *not* recommend building a fat-jar that includes the ...
    
    Instead, we recommend configuring Flink ...


> Table API / SQL Docs: Overview Page
> -----------------------------------
>
>                 Key: FLINK-6745
>                 URL: https://issues.apache.org/jira/browse/FLINK-6745
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Documentation, Table API & SQL
>    Affects Versions: 1.3.0
>            Reporter: Fabian Hueske
>            Assignee: Fabian Hueske
>
> Update and refine ./docs/dev/tableApi.md in feature branch https://github.com/apache/flink/tree/tableDocs



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message