[
https://issues.apache.org/jira/browse/PHOENIX-2135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15114549#comment-15114549
]
Josh Mahonin commented on PHOENIX-2135:
---------------------------------------
I'm not really sure what the root issue is here.
Is it that 'getUpsertColumnMetaDataList' is being used instead of directly
calling ColumnInfoToStringEncoder [~tdsilva] ?
> 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)