[ https://issues.apache.org/jira/browse/CALCITE-3790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17085483#comment-17085483 ]
Julian Hyde commented on CALCITE-3790: -------------------------------------- Sounds as if relative URLs might be simpler. Go for it. > Make the URL of FileSource available > ------------------------------------ > > Key: CALCITE-3790 > URL: https://issues.apache.org/jira/browse/CALCITE-3790 > Project: Calcite > Issue Type: Bug > Components: core > Reporter: Liya Fan > Priority: Minor > Labels: pull-request-available > Time Spent: 4h 50m > Remaining Estimate: 0h > > When a FileSource is constructed with only a File object, its URL is left > null. This makes it inconvenient for some scenarios where a valid URL is > required. > This can be resolved, as each file in the local file system corresponds to a > file URL, and we fix it by converting a file object to a file URL. -- This message was sent by Atlassian Jira (v8.3.4#803005)