[
https://issues.apache.org/jira/browse/METAMODEL-61?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kasper Sørensen reassigned METAMODEL-61:
----------------------------------------
Assignee: Ashwin Rayaprolu (was: Kasper Sørensen)
Alright you're assigned.
A small hint/idea on implementation: A lot of MetaModel users already rely on
CsvDataContext and it is also a pretty non-trivial class by now. So rather than
enriching this class maybe it's wiser to create a new class
"CsvDirectoryDataContext" or so, but composing functionality of the existing
one. This new class could easily delegate to CsvDataContext for all the
per-table operations.
> DataContext based on a directory of (CSV) files
> -----------------------------------------------
>
> Key: METAMODEL-61
> URL: https://issues.apache.org/jira/browse/METAMODEL-61
> Project: Apache MetaModel
> Issue Type: New Feature
> Reporter: Kasper Sørensen
> Assignee: Ashwin Rayaprolu
>
> Right now the CsvDataContext supports reading just a single file and having
> that as a single table. It would be wonderful if you could also instantiate
> CsvDataContext (or some other class) with a folder instead of a file, and
> then have every csv file in the folder show up as a table in the schema. That
> would allow CsvDataContext (or whatever it will be) to be used as a
> functional replacement for almost any other UpdateableDataContext, e.g. for
> testing etc.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)