[
https://issues.apache.org/jira/browse/CALCITE-4908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17450848#comment-17450848
]
Julian Hyde commented on CALCITE-4908:
--------------------------------------
Looks like a good start. Can you also update the doc, {{{}adapter.md{}}}?
As always, add a commit; don't squash, amend, force-push or rebase.
> 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)