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-2170) Add OrcTableSource
Date Wed, 22 Nov 2017 11:13:09 GMT

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

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

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

    https://github.com/apache/flink/pull/5043#discussion_r152499605
  
    --- Diff: docs/dev/table/sourceSinks.md ---
    @@ -485,6 +486,50 @@ val csvTableSource = CsvTableSource
     
     {% top %}
     
    +### OrcTableSource
    +
    +The `OrcTableSource` reads [ORC files](https://orc.apache.org). ORC is a file format
for structured data and stores the data in a compressed, columnar representation. ORC is very
storage efficient and supports projection and filter push-down.
    +
    +An `OrcTableSource` is created as shown below:
    +
    +<div class="codetabs" markdown="1">
    +<div data-lang="java" markdown="1">
    +{% highlight java %}
    +
    +// create Hadoop Configuration
    +Configuration config = new Configuration();
    +
    +OrcTableSource orcTableSource = new OrcTableSource(
    --- End diff --
    
    Should we also provide a builder as it is done for all other sources to be consistent?


> Add OrcTableSource
> ------------------
>
>                 Key: FLINK-2170
>                 URL: https://issues.apache.org/jira/browse/FLINK-2170
>             Project: Flink
>          Issue Type: New Feature
>          Components: Table API & SQL
>    Affects Versions: 0.9
>            Reporter: Fabian Hueske
>            Assignee: Usman Younas
>            Priority: Minor
>              Labels: starter
>
> Add a {{OrcTableSource}} to read data from an ORC file. The {{OrcTableSource}} should
implement the {{ProjectableTableSource}} (FLINK-3848) and {{FilterableTableSource}} (FLINK-3849)
interfaces.



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

Mime
View raw message