feat: show create table only for base table (#4099)

* feat: show create table only for base table

Signed-off-by: tison <wander4096@gmail.com>

* add new cases

Signed-off-by: tison <wander4096@gmail.com>

---------

Signed-off-by: tison <wander4096@gmail.com>
This commit is contained in:
tison
2024-06-05 05:29:07 +08:00
committed by GitHub
parent dd06e107f9
commit 1850fe2956
5 changed files with 43 additions and 6 deletions

View File

@@ -192,3 +192,11 @@ drop table phy;
Affected Rows: 0
show create table numbers;
Error: 1001(Unsupported), Show create table only for base table. greptime.public.numbers is TEMPORARY
show create table information_schema.columns;
Error: 1001(Unsupported), Show create table only for base table. greptime.information_schema.columns is TEMPORARY

View File

@@ -79,3 +79,7 @@ WITH(
show create table phy;
drop table phy;
show create table numbers;
show create table information_schema.columns;