[ 
https://issues.apache.org/jira/browse/CALCITE-3790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17036398#comment-17036398
 ] 

Julian Hyde commented on CALCITE-3790:
--------------------------------------

Please check that it works on Windows. Mapping from Windows paths to URLs is 
tricky.

> 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)

Reply via email to