pfzhan commented on code in PR #2161:
URL: https://github.com/apache/kylin/pull/2161#discussion_r1431121745


##########
src/modeling-service/src/main/java/org/apache/kylin/rest/service/MetaStoreService.java:
##########
@@ -121,19 +91,45 @@
 import org.springframework.stereotype.Component;
 import org.springframework.web.multipart.MultipartFile;
 
-import org.apache.kylin.guava30.shaded.common.collect.Lists;
-import org.apache.kylin.guava30.shaded.common.collect.Maps;
-import org.apache.kylin.guava30.shaded.common.collect.Sets;
-import org.apache.kylin.guava30.shaded.common.io.ByteSource;
-
-import org.apache.kylin.metadata.recommendation.candidate.JdbcRawRecStore;
-import org.apache.kylin.metadata.recommendation.candidate.RawRecItem;
-import org.apache.kylin.metadata.recommendation.candidate.RawRecManager;
-import org.apache.kylin.metadata.recommendation.ref.OptRecManagerV2;
+import javax.servlet.http.HttpServletRequest;
+import javax.xml.bind.DatatypeConverter;
+import java.io.ByteArrayOutputStream;
+import java.io.File;
+import java.io.IOException;
+import java.io.InputStream;
+import java.nio.charset.Charset;
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.Collection;
+import java.util.Collections;
+import java.util.Comparator;
+import java.util.LinkedHashMap;
+import java.util.List;
+import java.util.Locale;
+import java.util.Map;
+import java.util.Objects;
+import java.util.Set;
+import java.util.regex.Matcher;
+import java.util.regex.Pattern;
+import java.util.stream.Collectors;
+import java.util.stream.Stream;
+import java.util.zip.ZipEntry;
+import java.util.zip.ZipInputStream;
+import java.util.zip.ZipOutputStream;
 
-import lombok.Setter;
-import lombok.val;
-import lombok.var;
+import static org.apache.kylin.common.constant.Constants.KE_VERSION;
+import static 
org.apache.kylin.common.exception.ServerErrorCode.FAILED_CREATE_MODEL;
+import static 
org.apache.kylin.common.exception.ServerErrorCode.MODEL_EXPORT_ERROR;
+import static 
org.apache.kylin.common.exception.ServerErrorCode.MODEL_IMPORT_ERROR;
+import static 
org.apache.kylin.common.exception.ServerErrorCode.MODEL_METADATA_FILE_ERROR;
+import static 
org.apache.kylin.common.exception.code.ErrorCodeServer.MODEL_ID_NOT_EXIST;
+import static 
org.apache.kylin.common.exception.code.ErrorCodeServer.MODEL_NAME_DUPLICATE;
+import static 
org.apache.kylin.common.exception.code.ErrorCodeServer.MODEL_NAME_INVALID;
+import static 
org.apache.kylin.common.persistence.ResourceStore.METASTORE_UUID_TAG;
+import static org.apache.kylin.common.persistence.ResourceStore.VERSION_FILE;
+import static 
org.apache.kylin.metadata.model.schema.ImportModelContext.MODEL_REC_PATH;
+import static org.apache.kylin.metadata.model.schema.SchemaNodeType.MODEL_DIM;
+import static org.apache.kylin.metadata.model.schema.SchemaNodeType.MODEL_FACT;
 

Review Comment:
   格式不对?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@kylin.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to