You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Thomas D'Silva (JIRA)" <ji...@apache.org> on 2016/01/25 21:36:39 UTC
[jira] [Resolved] (PHOENIX-2135) Use
ColumnInfoToStringEncoderDecoder.encode/decode to store the column metadata
in the configuration
[ https://issues.apache.org/jira/browse/PHOENIX-2135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas D'Silva resolved PHOENIX-2135.
-------------------------------------
Resolution: Not A Problem
> Use ColumnInfoToStringEncoderDecoder.encode/decode to store the column metadata in the configuration
> ----------------------------------------------------------------------------------------------------
>
> Key: PHOENIX-2135
> URL: https://issues.apache.org/jira/browse/PHOENIX-2135
> Project: Phoenix
> Issue Type: Improvement
> Reporter: Thomas D'Silva
> Assignee: Josh Mahonin
> Fix For: 4.8.0
>
>
> In the saveToPhoenix method ProductRDDFunctions and DataFrameFunctions see if we can serialize the column metadata to the configuration object using ColumnInfoToStringEncoderDecoder.encode
> and then in data.mapPartitions use ColumnInfoToStringEncoderDecoder.decode to get the list of column infos.
> Currently we call PhoenixConfigurationUtil.getUpsertColumnMetadataList for each partition to get the column metadata.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)