[
https://issues.apache.org/jira/browse/SPARK-11007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14949616#comment-14949616
]
Apache Spark commented on SPARK-11007:
--------------------------------------
User 'liancheng' has created a pull request for this issue:
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
>
> 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]