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 2018/08/28 11:46:00 UTC

[jira] [Created] (CALCITE-2495) Rework URL->File conversion in tests

Vladimir Sitnikov created CALCITE-2495:
------------------------------------------

             Summary: Rework URL->File conversion in tests
                 Key: CALCITE-2495
                 URL: https://issues.apache.org/jira/browse/CALCITE-2495
             Project: Calcite
          Issue Type: Bug
            Reporter: Vladimir Sitnikov
            Assignee: Julian Hyde


{{URL.getPath()}} produces %20 when path contains spaces.
I suggest to rework all the uses of {{getResource()...}} to use {{Sources.of(URL)}} so there's single -point of failure- way to convert URL to File.

This resolves Apache CI which happens to have a space in folder name.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)