Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-2135

Use ColumnInfoToStringEncoderDecoder.encode/decode to store the column metadata in the configuration

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • None
    • 4.8.0
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              jmahonin Josh Mahonin
              tdsilva Thomas D'Silva
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: