mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-13 16:52:56 +00:00
* feat: improve observability for procedure * fix: test error * test: add sqlness test for information_schema.procedure_info * fix: sqlness test error * fix: cr comment * chore: update proto version * fix: apply cr comment * update version * fix: cr comment * optimize procedure type output format * upgrade dep version * fix: clippy error * fix: `procedure` borrowed error * fix: optimize code
21 lines
559 B
SQL
21 lines
559 B
SQL
--- test information_schema.procedure_info ----
|
|
USE public;
|
|
|
|
CREATE TABLE procedure_info_for_sql_test1(
|
|
ts TIMESTAMP TIME INDEX,
|
|
temperature DOUBLE DEFAULT 10,
|
|
) engine=mito with('append_mode'='true');
|
|
|
|
CREATE TABLE procedure_info_for_sql_test2(
|
|
ts TIMESTAMP TIME INDEX,
|
|
temperature DOUBLE DEFAULT 10,
|
|
) engine=mito with('append_mode'='true');
|
|
|
|
use INFORMATION_SCHEMA;
|
|
|
|
select procedure_type from procedure_info where lock_keys like '%procedure_info_for_sql_test%';
|
|
|
|
use public;
|
|
|
|
DROP TABLE procedure_info_for_sql_test1, procedure_info_for_sql_test2;
|