matrixorigin / matrixone

Hyperconverged cloud-edge native database
https://docs.matrixorigin.cn/en
Apache License 2.0
1.77k stars 275 forks source link

[Bug]: incorrect syntax sql is displayed in statement_info with sql label #8304

Closed domingozhang closed 1 year ago

domingozhang commented 1 year ago

Is there an existing issue for the same bug?

Environment

- Version or commit-id (e.g. v0.1.0 or 8b23a93):
- Hardware parameters:
- OS type:
- Others:

Actual Behavior

In SQL edit of mo-cloud, user input an incorrect syntax such as 'sdfsdfsd', the label of / cloud_user / is displayed as following. This label needs to be removed normally.

select statement from system.statement_info where statement_id='0646587e-e9ce-48c8-89ec-64a05e43bd4e'; +---------------------------+ | statement | +---------------------------+ | / cloud_user /sdfsdfsd; | +---------------------------+ 1 row in set (6 min 37.09 sec)

Expected Behavior

No response

Steps to Reproduce

No response

Additional information

No response

tianyahui-python commented 1 year ago
截屏2023-03-20 22 45 34 截屏2023-03-20 22 46 49

The current bug has been resolved