You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Vladimir Sitnikov (Jira)" <ji...@apache.org> on 2020/04/17 15:30:00 UTC
[jira] [Resolved] (CALCITE-3790) Make the URL of FileSource
available
[ https://issues.apache.org/jira/browse/CALCITE-3790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vladimir Sitnikov resolved CALCITE-3790.
----------------------------------------
Fix Version/s: 1.23.0
Resolution: Fixed
Fixed in https://github.com/apache/calcite/commit/fbfb58ebf68c07e15eb5e99b425d113fd3daa451
> 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
> Fix For: 1.23.0
>
> Time Spent: 5h 40m
> 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)