You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yang Jie (Jira)" <ji...@apache.org> on 2021/03/16 14:10:00 UTC

[jira] [Updated] (SPARK-34661) Replaces `OriginalType` with `LogicalTypeAnnotation` in VectorizedColumnReader

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

Yang Jie updated SPARK-34661:
-----------------------------
    Description: 
{{OriginalType}} and {{DecimalMetadata}} has been marked as {{@Deprecated}} in new Parquet code.

{{Apache Parquet}} suggest us replace {{OriginalType}} with {{LogicalTypeAnnotation}} and replace {{DecimalMetadata}} with {{DecimalLogicalTypeAnnotation.}}

{{}}

The files to be changed are as follows:
 * VectorizedColumnReader.java
 * ParquetFilters.scala
 * ParquetReadSupport.scala
 * ParquetRowConverter.scala
 * ParquetSchemaConverter.scala

 

{{}}

  was:
`OriginalType` has been marked as '@Deprecated', Apache Parquet suggests to use  LogicalTypeAnnotation to represent logical types instead.

This JIRA is used to track the cleanup of `OriginalType` usages in VectorizedColumnReader

 


> Replaces `OriginalType` with `LogicalTypeAnnotation` in VectorizedColumnReader
> ------------------------------------------------------------------------------
>
>                 Key: SPARK-34661
>                 URL: https://issues.apache.org/jira/browse/SPARK-34661
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.2.0
>            Reporter: Yang Jie
>            Priority: Minor
>
> {{OriginalType}} and {{DecimalMetadata}} has been marked as {{@Deprecated}} in new Parquet code.
> {{Apache Parquet}} suggest us replace {{OriginalType}} with {{LogicalTypeAnnotation}} and replace {{DecimalMetadata}} with {{DecimalLogicalTypeAnnotation.}}
> {{}}
> The files to be changed are as follows:
>  * VectorizedColumnReader.java
>  * ParquetFilters.scala
>  * ParquetReadSupport.scala
>  * ParquetRowConverter.scala
>  * ParquetSchemaConverter.scala
>  
> {{}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org