mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-18 05:50:41 +00:00
* wip * add schema_async * remove CatalogList * remove catalog provider and schema provider * fix * fix: rename table * fix: sqlness * fix: ignore tonic error metadata * fix: table engine name * feat: rename catalog_async to catalog * respect engine name in table regional value when deregistering tables * fix: CR
16 lines
345 B
SQL
16 lines
345 B
SQL
CREATE TABLE t(i INTEGER, j BIGINT TIME INDEX);
|
|
|
|
DESC TABLE t;
|
|
|
|
INSERT INTO TABLE t VALUES (1, 1), (3, 3), (NULL, 4);
|
|
|
|
SELECT * from t;
|
|
|
|
-- TODO(LFC): Port test cases from standalone env when distribute rename table is implemented (#723).
|
|
ALTER TABLE t RENAME new_table;
|
|
|
|
DROP TABLE t;
|
|
|
|
-- TODO: this clause should success
|
|
DROP TABLE new_table;
|