flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wuchong <...@git.apache.org>
Subject [GitHub] flink pull request #3039: [FLINK-5280] Update TableSource to support nested ...
Date Tue, 10 Jan 2017 04:36:13 GMT
Github user wuchong commented on a diff in the pull request:

    --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/table/sources/TableSource.scala
    @@ -19,22 +19,23 @@
     package org.apache.flink.table.sources
     import org.apache.flink.api.common.typeinfo.TypeInformation
    +import org.apache.flink.table.api.TableEnvironment
    -/** Defines an external table by providing schema information, i.e., field names and
    +/** Defines an external table by providing schema information and used to produce a
    +  * [[org.apache.flink.api.scala.DataSet]] or [[org.apache.flink.streaming.api.scala.DataStream]].
    +  * Schema information consists of a data type, field names, and corresponding indices
    +  * these names in the data type.
    +  *
    +  * To define a TableSource one need to implement [[TableSource#getReturnType]]. In this
    +  * field names and field indices are derived from the returned type.
    +  *
    +  * In case if custom field names are required one need to additionally implement
    --- End diff --
    In case if  -> In case of

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message