CnosDB企业版show语法报错提示缺失订阅及vnode相关信息问题
CnosDB企业版SQL解析错误:
show subscriptions与show des命令未被支持 问题详情
使用CnosDB企业版2.4.0(修订版842fc0e)时,遇到以下两个SQL解析错误:
show subscriptions命令失效
执行show subscriptions on db001;时返回422错误,SQL解析器未识别subscriptions对象,错误信息如下:
db001 ❯ show subscriptions on db001; 422 Unprocessable Entity, details: {"error_code":"010009","error_message":"sql parser error: Expected TABLES or DATABASES or SERIES or TAG or QUERIES or STREAMS or DATANODES, found: subscriptions"}
该命令属于企业版应支持的功能,但当前解析器的可选对象列表中未包含subscriptions。
show des命令不被支持
执行show des;(用于查看vnode相关信息)时,直接返回命令不支持的错误:
public ❯ show des; 422 Unprocessable Entity, details: {"error_code":"010009","error_message":"sql parser error: nonsupport: des"}
同时语法提示中也缺失vnode相关内容。
修复范围
需同步修复以下版本的该问题:
- LTS/2.3
- 企业版2.4
- 企业版LTS/2.3
内容的提问来源于stack exchange,提问作者liikeuforever
相关产品推荐
相关产品推荐

