ClickHouse/docs/zh/sql-reference/statements
SuperDJY dd2972b8c3
return fake create query when executing show create table on system's tables. (#31391)
* clarify that cannot show create table of system's tables

* clarify that cannot show create table of system's tables in the document

* bypass test style-check for required `database=currentDatabase()` because `show create table` do not have condition

* rename supportsShowCreateTable to isSystemStorage

* build fake create query for show create table of system's tables

* fix tests for show create table on system's table:

1. only build fake create query when cannot get real query
2. only test rocksdb when it's enabled.

* fix test for show create table system.tables

* fix test for ASTCreateQuery set table and database

* change to LOGICAL_ERROR when cannot get in_memory metadata

Co-authored-by: tavplubix <tavplubix@gmail.com>

* implement common getCreateQueryFromStorage

Co-authored-by: tavplubix <tavplubix@gmail.com>
2021-11-19 13:25:55 +03:00
..
alter make_links.sh 2021-09-20 09:51:41 +03:00
create make_links.sh 2021-09-20 09:51:41 +03:00
select Done 2021-10-19 11:53:55 +00:00
alter.md find . -type f -name '*.md'| xargs -I{} perl -pi -e 's|https://clickhouse.tech|https://clickhouse.com|g' {} 2021-09-19 23:05:54 +03:00
attach.md make_links.sh 2021-09-20 09:51:41 +03:00
check-table.md make_links.sh 2021-09-20 09:51:41 +03:00
create.md find . -type f -name '*.md'| xargs -I{} perl -pi -e 's|https://clickhouse.tech|https://clickhouse.com|g' {} 2021-09-19 23:05:54 +03:00
describe-table.md make_links.sh 2021-09-20 09:51:41 +03:00
detach.md make_links.sh 2021-09-20 09:51:41 +03:00
drop.md find . -type f -name '*.md'| xargs -I{} perl -pi -e 's|https://clickhouse.tech|https://clickhouse.com|g' {} 2021-09-19 23:05:54 +03:00
exchange.md Fix file problems with bad links 2021-08-27 19:32:21 +08:00
exists.md make_links.sh 2021-09-20 09:51:41 +03:00
explain.md make_links.sh 2021-09-20 09:51:41 +03:00
grant.md find . -type f -name '*.md'| xargs -I{} perl -pi -e 's|https://clickhouse.tech|https://clickhouse.com|g' {} 2021-09-19 23:05:54 +03:00
index.md use chinese characters for indexes 2021-03-22 10:37:29 +08:00
insert-into.md find . -type f -name '*.md'| xargs -I{} perl -pi -e 's|https://clickhouse.tech|https://clickhouse.com|g' {} 2021-09-19 23:05:54 +03:00
kill.md make_links.sh 2021-09-20 09:51:41 +03:00
misc.md find . -type f -name '*.md'| xargs -I{} perl -pi -e 's|https://clickhouse.tech|https://clickhouse.com|g' {} 2021-09-19 23:05:54 +03:00
optimize.md make_links.sh 2021-09-20 09:51:41 +03:00
rename.md Fix file problems with bad links 2021-08-27 19:32:21 +08:00
revoke.md find . -type f -name '*.md'| xargs -I{} perl -pi -e 's|https://clickhouse.tech|https://clickhouse.com|g' {} 2021-09-19 23:05:54 +03:00
set-role.md make_links.sh 2021-09-20 09:51:41 +03:00
set.md make_links.sh 2021-09-20 09:51:41 +03:00
show.md return fake create query when executing show create table on system's tables. (#31391) 2021-11-19 13:25:55 +03:00
system.md find . -type f -name '*.md'| xargs -I{} perl -pi -e 's|https://clickhouse.tech|https://clickhouse.com|g' {} 2021-09-19 23:05:54 +03:00
truncate.md make_links.sh 2021-09-20 09:51:41 +03:00
use.md make_links.sh 2021-09-20 09:51:41 +03:00
watch.md Fix file problems with bad links 2021-08-27 19:32:21 +08:00