You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "James Taylor (JIRA)" <ji...@apache.org> on 2016/01/24 21:34:39 UTC

[jira] [Comment Edited] (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:comment-tabpanel&focusedCommentId=15114524#comment-15114524 ] 

James Taylor edited comment on PHOENIX-2135 at 1/24/16 8:34 PM:
----------------------------------------------------------------

Still an issue, [~jmahonin]?


was (Author: jamestaylor):
Still an issue, [~jmahonin]

> 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)