[
https://issues.apache.org/jira/browse/KYLIN-5731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17798501#comment-17798501
]
ASF GitHub Bot commented on KYLIN-5731:
---------------------------------------
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:
格式不对?
> When there is a null value in the Kafka source data, the build job reports an
> error
> -----------------------------------------------------------------------------------
>
> Key: KYLIN-5731
> URL: https://issues.apache.org/jira/browse/KYLIN-5731
> Project: Kylin
> Issue Type: Bug
> Affects Versions: 5.0-beta
> Reporter: zhong.zhu
> Assignee: zhong.zhu
> Priority: Minor
> Fix For: 5.0.0
>
>
> If the field value in kafka json data is null, the task will report an error.
> Null value field "clue_source_2_name":null
> Field type is varchar
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)