starrocks icon indicating copy to clipboard operation
starrocks copied to clipboard

identifier with backquotes in `ROUTINE LOAD` stmt cannot be parsed correctly

Open rickif opened this issue 3 years ago • 0 comments

Steps to reproduce the behavior (Required)

The following statement, where the identifier is quoted with backquotes cannot be parsed correctly.

show routine load for `db_test`.`rl_test`
pause routine load for `db_test.`rl_test`
resume routine load for `db_test`.`rl_test`
stop routine load for `db_test`.`rl_test`
alter routine load for `db_test`.`rl_tset` ...
show routine load task from `db_test` where jobname = "rl_trest"

Expected behavior (Required)

The correct result is returned.

Real behavior (Required)

The db name and the routine load name are parsed with backquotes.

ERROR 1064 (HY000): failed to find database by dbFullName `db`

StarRocks version (Required)

  • You can get the StarRocks version by executing SQL select current_version()

rickif avatar Sep 22 '22 09:09 rickif