morningman commented on a change in pull request #2958: Auto Resume 
RoutineLoadJob
URL: https://github.com/apache/incubator-doris/pull/2958#discussion_r382052529
 
 

 ##########
 File path: fe/src/main/java/org/apache/doris/common/InternalErrorCode.java
 ##########
 @@ -0,0 +1,72 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership.  The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License.  You may obtain a copy of the License at
+//
+//   http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied.  See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
+package org.apache.doris.common;
+
+public class InternalErrorCode {
+    private long code;
+    private String msg;
+    public static long NORMAL = 0;
+
+    // for common error
+    public static long IMPOSSIBLE_ERROR_ERR = 1; // 用于不可能出现的错误的地方 出现了一个错误
+    public static long INTERNAL_ERR = 2;
+    public static long REPLICA_FEW_ERR = 3;
+    public static long PARTITIONS_ERR = 4;
+    public static long DB_ERR = 5;
+    public static long TABLE_ERR = 6;
+    public static long META_NOT_FOUND_ERR = 7;
+
+    // for load job error
+    public static long MANUAL_PAUSE_ERR = 100;
+    public static long MANUAL_STOP_ERR = 101;
+    public static long TOO_MANY_FAILURE_ROWS_ERR = 102;
+    public static long CREATE_TASKS_ERR = 103;
+    public static long TASKS_ABORT_ERR = 104;
+
+    public InternalErrorCode()
+    {
 
 Review comment:
   Code style, `{` should be after the last line

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to