Uploaded image for project: 'Apache Hudi'
  1. Apache Hudi
  2. HUDI-3786

how to deduce what MDT partitions to update on the write path w/ async indeing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Implemented
    • None
    • 1.0.0-beta1
    • code-quality, metadata
    • None

    Description

      w/ async indexing, how do we deduce what are the MDT partitions to update on the regular write path? 

       

      private MetadataRecordsGenerationParams getRecordsGenerationParams() {
        return new MetadataRecordsGenerationParams(
            dataMetaClient, enabledPartitionTypes, dataWriteConfig.getBloomFilterType(),
            dataWriteConfig.getBloomIndexParallelism(),
            dataWriteConfig.isMetadataColumnStatsIndexEnabled(),
            dataWriteConfig.getColumnStatsIndexParallelism(),
            StringUtils.toList(dataWriteConfig.getColumnsEnabledForColumnStatsIndex()),
            StringUtils.toList(dataWriteConfig.getColumnsEnabledForBloomFilterIndex()));
      } 

      As of now, I see above code snippet is what deciding that. But don't we need to decide on tableConfig ? 

      Attachments

        Activity

          People

            codope Sagar Sumit
            shivnarayan sivabalan narayanan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: