You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Woonsan Ko (Jira)" <ji...@apache.org> on 2021/11/30 02:20:00 UTC

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

Woonsan Ko created CALCITE-4908:
-----------------------------------

             Summary: 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


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)