[ 
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. CharSource) in CSVAdapter and 
FileAdapter(s)  (was: Allow generic data source (eg. CharSource) in CSVAdapter 
or FileAdapter(s))

> Allow generic data source (eg. CharSource) in CSVAdapter and 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]
>  (rather their factory equivalent like 
> [ByteSource|https://guava.dev/releases/19.0/api/docs/com/google/common/io/ByteSource.html])
>  so adapters can operate on in-memory elements like String.



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

Reply via email to