数据仓库服务 GAUSSDB(DWS)-GAUSS-01431 -- GAUSS-01440
GAUSS-01431 -- GAUSS-01440
GAUSS-01431: "operator class '%s' for access method '%s' already exists"
SQLSTATE: 42710
错误原因:CREATE OPERATOR CLASS,定义的operator class已经存在。
解决办法:CREATE OPERATOR CLASS,定义的operator class须与已有的operator class不同名。
GAUSS-01432: "could not make operator class '%s' be default for type %s"
SQLSTATE: 42710
错误原因:CREATE OPERATOR CLASS,使用关键字为数据类型创建默认的OPERATOR CLASS时,发现该数据类型已有默认的OPERATOR CLASS。
解决办法:CREATE OPERATOR CLASS,使用关键字为数据类型创建默认的OPERATOR CLASS时,首先确认该数据类型没有默认的OPERATOR CLASS。
GAUSS-01433: "must be system admin to create an operator family"
SQLSTATE: 42501
错误原因:CREATE OPERATOR FAMILY,使用的账户不是系统管理员账户。
解决办法:CREATE OPERATOR FAMILY,须得以系统管理员账户。
GAUSS-01434: "must be system admin to alter an operator family"
SQLSTATE: 42501
错误原因:ALTER OPERATOR FAMILY ... ADD/DROP,使用的账户不是系统管理员账户。
解决办法:ALTER OPERATOR FAMILY ... ADD/DROP,使用的账户须得是系统管理员账户。
GAUSS-01435: "operator argument types must be specified in ALTER OPERATOR FAMILY"
SQLSTATE: 42601
错误原因:ALTER OPERATOR FAMILY ... ADD OPERATOR,没有指定OPERATOR的参数类型。
解决办法:ALTER OPERATOR FAMILY ... ADD OPERATOR,须得指定OPERATOR的参数类型。
GAUSS-01436: "STORAGE cannot be specified in ALTER OPERATOR FAMILY"
SQLSTATE: 42601
错误原因:ALTER OPERATOR FAMILY ... ADD中指定了STORAGE子句。
解决办法:ALTER OPERATOR FAMILY ... ADD中不能指定STORAGE子句。
GAUSS-01437: "one or two argument types must be specified"
SQLSTATE: 42601
错误原因:CREATE OPERATOR CLASS、ALTER OPERATOR FAMILY ... ADD/DROP中指定的OPERATOR/FUNCTION参数超过了2个。
解决办法:CREATE OPERATOR CLASS、ALTER OPERATOR FAMILY ... ADD/DROP中指定的OPERATOR/FUNCTION参数只能是1个或者2个。
GAUSS-01438: "index operators must be binary"
SQLSTATE: 42P17
错误原因:CREATE OPERATOR CLASS、ALTER OPERATOR FAMILY ... ADD指定的OPERATOR不是二元操作符。
解决办法:CREATE OPERATOR CLASS、ALTER OPERATOR FAMILY ... ADD指定的OPERATOR须得是二元操作符。
GAUSS-01439: "access method '%s' does not support ordering operators"
SQLSTATE: 42P17
错误原因:CREATE OPERATOR CLASS、ALTER OPERATOR FAMILY ... ADD,指定了sort operator,但是access_method不支持排序。
解决办法:CREATE OPERATOR CLASS、ALTER OPERATOR FAMILY ... ADD,只有access_method支持排序操作符时,指定的OPERATOR才可以FOR ORDER,否则只能FOR SEARCH。
GAUSS-01440: "index search operators must return boolean"
SQLSTATE: 42P17
错误原因:CREATE OPERATOR CLASS、ALTER OPERATOR FAMILY ... ADD OPERATOR…FOR SEARCH,但是该操作符的返回值不是BOOL类型。
解决办法:CREATE OPERATOR CLASS、ALTER OPERATOR FAMILY ... ADD OPERATOR…FOR SEARCH,则操作符的返回值必须是BOOL类型。
- 数据仓库服务GaussDB(DWS)_SQL on Anywhere
- DWS安全_数据仓库服务安全_DWS数据安全管理_DWS安全保障_DWS安全策略
- 调用GaussDB(DWS) API接口_数据仓库服务调用API_如何调用API_在DWS中调用API
- DWS资源管理_GaussDB(DWS)资源管理作用_DWS资源管控
- GaussDB(DWS)常用SQL_常用SQL命令_SQL语法
- GAUSS(DWS)工具_gsql工具_DataStudio工具_DSC工具
- DWS产品介绍_DWS产品优势_DWS功能_DWS使用场景_DWS是什么
- 如何进行日志采集和转储_日志平台_日志接入_日志转储
- 数据库监控DMS_数据库智能运维_了解Auto Pilot_DMS_DWS节点监控
- GaussDB(DWS)服务_什么是IoT数仓_如何使用IoT数仓