code: protected static boolean checkCatalogDiffShouldApplyToEE(final CatalogType suspect)
      {
          // Warning:
          // This check list should be consistent with catalog items defined in EE
          // Once a new catalog type is added in EE, we should add it here.
  
          if (suspect instanceof Cluster || suspect instanceof Database) {
              return true;
          }
  
          // Information about user-defined functions need to be applied to EE.
          // Because the EE needs to know about the parameter types and the return type to do
          // many type casting operations.
          if (suspect instanceof Function) {
              return true;
          }
  
          if (suspect instanceof Table || suspect instanceof TableRef ||
                  suspect instanceof Column || suspect instanceof ColumnRef ||
                  suspect instanceof Index || suspect instanceof IndexRef ||
                  suspect instanceof Constraint || suspect instanceof ConstraintRef ||
                  suspect instanceof MaterializedViewInfo || suspect instanceof MaterializedViewHandlerInfo) {
              return true;
          }
  
          // Statement can be children of Table or MaterilizedViewInfo, which should apply to EE
          // But if they are under Procedure, we can skip them.
          if (suspect instanceof Statement && (suspect.getParent() instanceof Procedure == false)) {
              return true;
          }
  
          // PlanFragment is a similar case like Statement
          if (suspect instanceof PlanFragment && suspect.getParent() instanceof Statement &&
                  (suspect.getParent().getParent() instanceof Procedure == false)) {
              return true;
          }
  
          if (suspect instanceof Connector ||
                  suspect instanceof ConnectorProperty ||
                  suspect instanceof ConnectorTableInfo) {
              // export table related change, should not skip EE
              return true;
          }
  
          // The other changes in the catalog will not be applied to EE,
          // including User, Group, Procedures, etc
          return false;
      }
docs: Our EE has a list of Catalog items that are in use, but Java catalog contains much more.
  Some of the catalog diff commands will only be useful to Java. So this function will
  decide whether the @param suspect catalog item will be used in EE or not.
  @param suspect
  @param prevType
  @param field
  @return true if the suspect catalog will be updated in EE, false otherwise.