You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2015/02/08 09:56:38 UTC
[jira] [Closed] (CALCITE-446) CSV adapter should read from
directory relative to the model file
[ https://issues.apache.org/jira/browse/CALCITE-446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julian Hyde closed CALCITE-446.
-------------------------------
Closing now that 1.0.0-incubating has been released.
> CSV adapter should read from directory relative to the model file
> -----------------------------------------------------------------
>
> Key: CALCITE-446
> URL: https://issues.apache.org/jira/browse/CALCITE-446
> Project: Calcite
> Issue Type: Bug
> Reporter: Julian Hyde
> Assignee: Julian Hyde
> Fix For: 1.0.0-incubating
>
>
> CSV adapter should read from directory relative to the model file.
> The mechanism is as follows. Add a new operand "modelUri", containing the URI of the model file, to each operand passed to a custom schema. If the model's URI is a file (i.e. not "inline:"), also add a new operand "baseDirectory" containing the model's directory, as a File object.
> The CSV adapter uses this information to look for a directory relative to baseDirectory if the directory specified is relative.
> The additional operands are held in the ModelHandler.ExtraOperand enum.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)