[
https://issues.apache.org/jira/browse/SPARK-11007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Davies Liu resolved SPARK-11007.
--------------------------------
Resolution: Fixed
Fix Version/s: 1.6.0
Issue resolved by pull request 9040
[https://github.com/apache/spark/pull/9040]
> Add dictionary support for CatalystDecimalConverter
> ---------------------------------------------------
>
> Key: SPARK-11007
> URL: https://issues.apache.org/jira/browse/SPARK-11007
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 1.4.0, 1.4.1, 1.5.0, 1.5.1
> Reporter: Cheng Lian
> Assignee: Cheng Lian
> Fix For: 1.6.0
>
>
> Currently {{CatalystDecimalConverter}} doesn't explicitly support dictionary
> encoding. The consequence is that, the underlying Parquet {{ColumnReader}}
> always sends raw {{Int}}/{{Long}}/{{Binary}} values decoded from the
> dictionary to {{CatalystDecimalConverter}} even if the column is encoded
> using a dictionary. By adding explicit dictionary support (similar to what
> {{CatalystStringConverter}} does), we can avoid constructing decimals
> repeatedly. This should be especially effective for binary backed decimals.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]