You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@orc.apache.org by "William Hyun (Jira)" <ji...@apache.org> on 2022/09/03 22:44:00 UTC

[jira] [Closed] (ORC-937) Replace deprecated method

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

William Hyun closed ORC-937.
----------------------------

> Replace deprecated method
> -------------------------
>
>                 Key: ORC-937
>                 URL: https://issues.apache.org/jira/browse/ORC-937
>             Project: ORC
>          Issue Type: Improvement
>          Components: Java
>    Affects Versions: 1.8.0
>            Reporter: Yiqun Zhang
>            Assignee: Yiqun Zhang
>            Priority: Trivial
>             Fix For: 1.8.0
>
>
> There are some deprecated method calls in the project that I think could be replaced by the recommended methods.
> org.apache.commons.cli
> OptionBuilder -> Option.builder
> GnuParser -> DefaultParser
> org.apache.parquet.avro
> AvroParquetWriter.<GenericData.Record>builder(path)  ->  AvroParquetWriter.<GenericData.Record>builder(outputFile)
> AvroParquetReader.<GenericData.Record>builder(path)  ->  AvroParquetReader.<GenericData.Record>builder(inputFile)
> DateColumnStatistics
> getMaximum -> getMaximumLocalDate
> getMinimum -> getMinimumLocalDate
> hadoop
> FSDataOutputStream(OutputStream) -> FSDataOutputStream(OutputStream, FileSystem.Statistics) 
> fileStatus.isDir -> fileStatus.isDirectory



--
This message was sent by Atlassian Jira
(v8.20.10#820010)