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

Fix auto deletion of MDT

    XMLWordPrintableJSON

Details

    Description

      With 014.0, we are triggering deletion of mdt and updating hoodie.properties even if its already disabled and not present. 

       

      private boolean shouldExecuteMetadataTableDeletion() {
        // Only execute metadata table deletion when all the following conditions are met
        // (1) This is data table
        // (2) Metadata table is disabled in HoodieWriteConfig for the writer
        return !metaClient.isMetadataTable()
            && !config.isMetadataTableEnabled();
      } 

      Attachments

        Issue Links

          Activity

            People

              shivnarayan sivabalan narayanan
              shivnarayan sivabalan narayanan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: