You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Andrei Sereda (Jira)" <ji...@apache.org> on 2019/12/04 02:58:00 UTC

[jira] [Updated] (CALCITE-3560) Allow generic data source (eg. ByteSource) in CSVAdapter or FileAdapter(s)

     [ https://issues.apache.org/jira/browse/CALCITE-3560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrei Sereda updated CALCITE-3560:
-----------------------------------
    Summary: Allow generic data source (eg. ByteSource) in CSVAdapter or FileAdapter(s)  (was: Allow generic data source (eg. InputStream) in CSVAdapter or FileAdapter(s))

> Allow generic data source (eg. ByteSource) in CSVAdapter or FileAdapter(s)
> --------------------------------------------------------------------------
>
>                 Key: CALCITE-3560
>                 URL: https://issues.apache.org/jira/browse/CALCITE-3560
>             Project: Calcite
>          Issue Type: Improvement
>          Components: csv-adapter, file-adapter
>    Affects Versions: 1.21.0
>            Reporter: Andrei Sereda
>            Assignee: Andrei Sereda
>            Priority: Major
>
> Currently CSV Adapter requires data to be stored on disk or remotely because table constructor argument is [URL|https://docs.oracle.com/javase/8/docs/api/java/net/URL.html]. 
> Change CSV and File adapter to accept more generic source like [Readable|https://docs.oracle.com/javase/8/docs/api/java/lang/Readable.html] or [InputStream|https://docs.oracle.com/javase/9/docs/api/java/io/InputStream.html] so adapters can operate on in-memory elements like String. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)