public EncodingTypeChangeCommand(
     IElement elem, String propName, Object propValue, boolean fromCombo) {
   super(
       elem,
       propName,
       EmfComponent.ENCODING_TYPE_CUSTOM.equals(propValue)
           ? elem.getPropertyValue(propName)
           : propValue);
   newRealValue = (String) propValue;
   IElementParameter curParam = getElement().getElementParameter(getPropName());
   paramEncoding = curParam.getChildParameters().get(EParameterName.ENCODING_TYPE.getName());
   this.fromCombo = fromCombo;
 }
 @Override
 public void handleTableRelevantParameters(
     Connection connection, IElement ele, IMetadataTable metadataTable) {
   if (ele == null || metadataTable == null) {
     return;
   }
   String tableName = metadataTable.getTableName();
   IElementParameter tableNameParameter =
       ele.getElementParameter(EHCatalogRepositoryToComponent.TABLE_NAME.getParameterName());
   if (tableNameParameter != null) {
     tableNameParameter.setValue(getRepositoryValueOfStringType(connection, tableName));
   }
   String partition = metadataTable.getAdditionalProperties().get(HCatalogConstants.PARTITIONS);
   if (StringUtils.isNotEmpty(partition)) {
     IElementParameter partitionParameter =
         ele.getElementParameter(EHCatalogRepositoryToComponent.PARTITION_NAME.getParameterName());
     if (partitionParameter != null) {
       String partitionName = ExtractMetaDataFromHCatalog.extractPartitionNameByJsonStr(partition);
       if (StringUtils.isNotEmpty(partitionName)) {
         partitionParameter.setValue(getRepositoryValueOfStringType(connection, partitionName));
       }
     }
   }
 }