[
https://issues.apache.org/jira/browse/CALCITE-3790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17036688#comment-17036688
]
Liya Fan commented on CALCITE-3790:
-----------------------------------
[~julianhyde] Thanks a lot for your kind reminder.
The conversion from File to URL is based on standard Java library, so it is
platform independent.
Our PR checks includes "CI / Windows (JDK 8) (pull_request)", and we have
passed the check.
So we believe it works on Windows.
> 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: 10m
> 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)