You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@metamodel.apache.org by "Ashwin Rayaprolu (JIRA)" <ji...@apache.org> on 2015/11/09 20:26:11 UTC

[jira] [Commented] (METAMODEL-61) DataContext based on a directory of (CSV) files

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

Ashwin Rayaprolu commented on METAMODEL-61:
-------------------------------------------

Can you assign this to me.. I plan to start on CSVDataContext from tomorrow.. This is the feature i think would be best

// Delimiter can be anything [ or "" or anything you decide
select * from [FolderPath].[FileName]



> 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: Kasper Sørensen
>
> 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)