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 2015/07/22 00:52:05 UTC
[jira] [Created] (PHOENIX-2135) Use
ColumnInfoToStringEncoderDecoder.encode/decode to store the column metadata
in the configuration
Thomas D'Silva created PHOENIX-2135:
---------------------------------------
Summary: 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
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)