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 2021/11/30 02:22:00 UTC

[jira] [Commented] (CALCITE-4908) Support classpath resource URI as model URI

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

Julian Hyde commented on CALCITE-4908:
--------------------------------------

Sounds reasonable.

> Support classpath resource URI as model URI
> -------------------------------------------
>
>                 Key: CALCITE-4908
>                 URL: https://issues.apache.org/jira/browse/CALCITE-4908
>             Project: Calcite
>          Issue Type: Improvement
>          Components: core
>            Reporter: Woonsan Ko
>            Priority: Minor
>
> In JDBC uri with a model file reference like 'jdbc:calcite:model=/a/b/c/model.json', it would be nice if we support a classpath resource path URI too like 'jdbc:calcite:model=classpath:/a/b/c/model.json'.
> It would be very helpful to my web application envs. A classpath resource cannot be always converted to a File object if the resource is in a jar or war, etc.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)