XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core, spark-integration
    • Labels:
      None

      Description

      With [https://github.com/apache/carbondata/pull/4110] user has to delete all segments from the older version of existing secondary index table and reload/sync all segments again to use them in the seconday index coarse grain datamap.  This restriction is due to the fact that PR expects CarbonCommonConstants.INDEX_STATUS property for the index to be set to IndexStatus.ENABLED in the index metadata when main table and respective secondary index table segments are in sync. And IndexChooser picks only IndexStatus.ENABLED indexes in the datamap pruning. It applies to bloom, lucene as well.

      But this property was not set for the secondary indexes in the older versions as they were not part of datamap pruning.

       

      To support the secondary index coarse grain datamap pruning for existing secondary indexes, need to support a way it happens automatically.

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              VenuReddy Venugopal Reddy K
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: