You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@metamodel.apache.org by "Kasper Sørensen (JIRA)" <ji...@apache.org> on 2015/03/09 13:49:38 UTC

[jira] [Commented] (METAMODEL-114) Request extend CsvConfiguration to parameter in schema name and table name.

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

Kasper Sørensen commented on METAMODEL-114:
-------------------------------------------

Sounds like a good idea. Could you maybe post a patch to do this? If you already have your bespoke subclass ready then I think it should be pretty easy?

> Request extend CsvConfiguration to parameter in schema name and table name.
> ---------------------------------------------------------------------------
>
>                 Key: METAMODEL-114
>                 URL: https://issues.apache.org/jira/browse/METAMODEL-114
>             Project: Apache MetaModel
>          Issue Type: Improvement
>            Reporter: sanjay gopalakrishnan
>
> For CsvDataContext being created from input streams (especially from http stream of csv data), the schema names and table names are derived somehow from the temp file for the data.
> These names may be unfriendly, and not identifiable for an end user.
> Thus perhaps we need a minor change to the CsvConfiguration to take in the schemaName and tableName, which can have friendly values, which overrides the default logic to derive these.
> As a workaround, i extended the class to add a constructor taking this as inputs, but good to have this into the git codebase.
> Please feel to reword above jira.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)