You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Vitalii Diravka (JIRA)" <ji...@apache.org> on 2019/02/18 18:21:00 UTC

[jira] [Updated] (DRILL-5603) Replace String file paths to Hadoop Path

     [ https://issues.apache.org/jira/browse/DRILL-5603?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vitalii Diravka updated DRILL-5603:
-----------------------------------
    Affects Version/s: 1.15.0

> Replace String file paths to Hadoop Path
> ----------------------------------------
>
>                 Key: DRILL-5603
>                 URL: https://issues.apache.org/jira/browse/DRILL-5603
>             Project: Apache Drill
>          Issue Type: Improvement
>    Affects Versions: 1.10.0, 1.15.0
>            Reporter: Vitalii Diravka
>            Priority: Major
>             Fix For: Future
>
>
> String paths are used in the different places of the Drill code:
> FileSelection, Metadata, ParquetGroupScan, ReadEntryWithPath, FileWork, FormatSelection, FormatPlugin, PartitionLocation and so on.
> Code with paths as strings is hard to test and maintain. And there are a lot of String to Path conversions and vice versa.
> The aim of this jira to replace String paths with Hadoop Path. The job of the Path class is do properly implement file path operations, just as the job of the older File and newer Path classes in Java is to handle OS paths.
> For the serialized structures a custom JsonSerializer<Path> and JsonDeserializer<Path> can be implemented.



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