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

Dongjoon Hyun commented on ORC-937:
-----------------------------------

Hi, [~Guiyankuang]. For the new feature and improvement JIRA,  `Affects 
Version/s:` is the version of default branch, `main`. Currently, it's 
1.8.0-SNAPSHOT. So, you can set `1.8.0`. And, your contribution is 
`Component/s: Java`.



> Replace deprecated method
> -------------------------
>
>                 Key: ORC-937
>                 URL: https://issues.apache.org/jira/browse/ORC-937
>             Project: ORC
>          Issue Type: Improvement
>    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.3.4#803005)

Reply via email to