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

Fix getDefaultBootstrapIndexClass logical error

    XMLWordPrintableJSON

Details

    Description

       

      public static String getDefaultBootstrapIndexClass(Properties props) {
       String defaultClass = BOOTSTRAP_INDEX_CLASS_NAME.defaultValue();
       if ("false".equalsIgnoreCase(props.getProperty(BOOTSTRAP_INDEX_ENABLE.key()))){ 
          defaultClass = NO_OP_BOOTSTRAP_INDEX_CLASS; 
        }
        return defaultClass;
       }
      

       

      When hoodie.bootstrap.index.enable is not passed, the original logic will follow HFileBootstrapIndex,

      This should not be judged here

      Attachments

        Issue Links

          Activity

            People

              liujinhui liujinhui
              liujinhui liujinhui
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: