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 2014/10/28 10:17:33 UTC
[jira] [Commented] (METAMODEL-90) Csv and Excel Data Context
constructors accept non existing files
[ https://issues.apache.org/jira/browse/METAMODEL-90?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14186631#comment-14186631 ]
Kasper Sørensen commented on METAMODEL-90:
------------------------------------------
Actually this was originally thought of as a feature, since you can still invoke a CREATE TABLE statement on such a DataContext, which will then create the files. Maybe we should just document that?
> Csv and Excel Data Context constructors accept non existing files
> -----------------------------------------------------------------
>
> Key: METAMODEL-90
> URL: https://issues.apache.org/jira/browse/METAMODEL-90
> Project: Metamodel
> Issue Type: Bug
> Reporter: Alberto
> Priority: Minor
>
> The CsvDataContext(File, CsvConfiguration) and the ExcelDataContext(File, ExcelConfiguration) constructors do not have a condition to check the file existence and therefore they do not throw an IllegalArgumentException when the file does not exist.
> We should add one more condition to check the file existence.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)