[
https://issues.apache.org/jira/browse/CALCITE-3790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17085634#comment-17085634
]
Liya Fan commented on CALCITE-3790:
-----------------------------------
[~julianhyde] Test cases for both relative and absolute paths have been added.
Thank you for the good suggestion.
> 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: 5h 20m
> 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)