hf200012 commented on a change in pull request #5935:
URL: https://github.com/apache/incubator-doris/pull/5935#discussion_r642301416



##########
File path: docs/zh-CN/administrator-guide/doris_error_code.md
##########
@@ -0,0 +1,174 @@
+---
+{
+    "title": "Doris错误代码表",
+    "language": "zh-CN"
+}
+
+---
+
+<!-- 
+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.
+-->
+
+# Doris错误代码表
+
+| 错误码 | 错误信息                                                     |
+| :----- | :----------------------------------------------------------- |
+| 1005   | 创建表格失败,在返回错误信息中给出具体原因                   |
+| 1007   | 数据库已经存在,不能创建同名的数据库                         |
+| 1008   | 数据存不存在,无法删除                                       |

Review comment:
       solved

##########
File path: docs/zh-CN/administrator-guide/doris_error_code.md
##########
@@ -0,0 +1,174 @@
+---
+{
+    "title": "Doris错误代码表",
+    "language": "zh-CN"
+}
+
+---
+
+<!-- 
+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.
+-->
+
+# Doris错误代码表
+
+| 错误码 | 错误信息                                                     |
+| :----- | :----------------------------------------------------------- |
+| 1005   | 创建表格失败,在返回错误信息中给出具体原因                   |
+| 1007   | 数据库已经存在,不能创建同名的数据库                         |
+| 1008   | 数据存不存在,无法删除                                       |
+| 1044   | 数据库对用户未授权,不能访问                                 |
+| 1045   | 用户名及密码不匹配,不能访问系统                             |
+| 1046   | 没有指定要查询的目标数据库                                   |
+| 1047   | 用户输入了无效的操作指令                                     |
+| 1049   | 用户指定了无效的数据库                                       |
+| 1050   | 数据表已经存在                                               |
+| 1051   | 无效的数据表                                                 |
+| 1052   | 指定的列名有歧义,不能唯一确定对应列                         |
+| 1053   | 为Semi-Join/Anti-Join查询指定了非法的数据列                  |
+| 1054   | 指定的列在表中不存在                                         |
+| 1058   | 查询语句中选择的列数目与查询结果的列数目不一致               |
+| 1060   | 列名重复                                                     |
+| 1064   | 没有存活的Backend节点                                        |
+| 1066   | 查询语句中出现了重复的表别名                                 |
+| 1094   | 线程ID无效                                                   |
+| 1095   | 非线程的拥有者不能终止线程的运行                             |
+| 1096   | 查询语句没有指定要查询或操作的数据表                         |
+| 1102   | 数据库名不正确                                               |
+| 1104   | 数据表名不正确                                               |
+| 1105   | 其它错误                                                     |
+| 1110   | 子查询中指定了重复的列                                       |
+| 1111   | 在Where从句中非法使用聚合函数                                |
+| 1113   | 新建表的列集合不能为空                                       |
+| 1115   | 使用了不支持的字符集                                         |
+| 1130   | 客户端使用了未被授权的IP地址来访问系统                       |
+| 1132   | 无权限修改用户密码                                           |
+| 1141   | 撤销用户权限时指定了用户不具备的权限                         |
+| 1142   | 用户执行了未被授权的操作                                     |
+| 1166   | 列名不正确                                                   |
+| 1193   | 使用了无效的系统变量名                                       |
+| 1203   | 用户使用的活跃连接数超过了限制                               |
+| 1211   | 不允许创建新用户                                             |
+| 1227   | 拒绝访问,用户执行了无权限的操作                             |
+| 1228   | 会话变量不能通过SET GLOBAL指令来修改                         |
+| 1229   | 全局变量应通过SET GLOBAL指令来修改                           |
+| 1230   | 相关的系统变量没有缺省值                                     |
+| 1231   | 给某系统变量设置了无效值                                     |
+| 1232   | 给某系统变量设置了错误数据类型的值                           |
+| 1248   | 没有给内联视图设置别名                                       |
+| 1251   | 客户端不支持服务器请求的身份验证协议;请升级MySQL客户端      |
+| 1286   | 配置的存储引擎不正确                                         |
+| 1298   | 配置的时区不正确                                             |
+| 1347   | 对象与期望的类型不匹配                                       |
+| 1353   | SELECT和视图的字段列表具有不同的列数                         |
+| 1364   | 字段不允许NULL值,但是没有设置缺省值                         |
+| 1372   | 密码长度不够                                                 |
+| 1396   | 用户执行的操作运行失败                                       |
+| 1471   | 指定表不允许插入数据                                         |
+| 1507   | 删除不存在的分区,且没有指定如果存在才删除的条件             |
+| 1508   | 无法删除所有分区,请改用DROP TABLE                           |
+| 1517   | 出现了重复的分区名字                                         |
+| 1567   | 分区的名字不正确                                             |
+| 1621   | 指定的系统变量是只读的                                       |
+| 1735   | 表中不存在指定的分区名                                       |
+| 1748   | 不能将数据插入具有空分区的表中使用“ SHOW PARTITIONS FROM  tbl”来查看此表的当前分区 |

Review comment:
       solved




-- 
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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to