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/03 22:13:00 UTC
[jira] [Created] (CALCITE-3560) Allow generic data source (eg.
InputStream) in CSVAdapter or FileAdapter(s)
Andrei Sereda created CALCITE-3560:
--------------------------------------
Summary: Allow generic data source (eg. InputStream) 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
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)