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)

Reply via email to