ClickHouse/docs/en/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 Merge pull request #31110 from sevirov/sevirov-DOCSUP-15458-document_the_alter_table_modify_comment 2021-11-12 16:45:00 +03:00
create Merge pull request #30448 from FArthur-cmd/remove_comments_for_enc_docs 2021-11-18 09:42:59 +03:00
select Merge pull request #30469 from kirillikoff/kirillikoff-DOCSUP-13264 2021-10-27 09:48:12 +03:00
attach.md Yet another header. 2021-08-03 20:47:09 +00:00
check-table.md Remove trailing whitespaces from docs 2021-07-29 18:20:55 +03:00
describe-table.md updated related data types 2021-10-28 04:47:16 +00:00
detach.md Update docs/en/sql-reference/statements/detach.md 2021-08-03 23:04:57 +03:00
drop.md Description improved 2021-08-22 19:57:59 +00:00
exchange.md Update docs/en/sql-reference/statements/exchange.md 2021-08-03 23:05:32 +03:00
exists.md Avoid short syntax 2021-05-27 21:44:11 +02:00
explain.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
grant.md reload and grant stub 2021-09-25 19:32:42 +00:00
index.md DOCSUP-4193: Document the EXPLAIN statement (#17734) 2020-12-04 21:24:05 +03:00
insert-into.md Fix wording 2021-10-27 16:21:50 +03:00
kill.md Avoid short syntax 2021-05-27 21:44:11 +02:00
misc.md [docs] split misc statements (#12403) 2020-07-11 14:05:49 +03:00
optimize.md DOCSUP-13875: Document the replication_wait_for_inactive_replica_timeout setting (#28464) 2021-09-09 23:33:08 +03:00
rename.md Update docs/en/sql-reference/statements/rename.md 2021-08-03 23:06:39 +03: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 DOCSUP-2806: Add meta header in RU (#15801) 2020-10-26 13:29:30 +03:00
set.md SET moved in the TOC 2021-08-01 13:03:02 +00: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 typo 2021-10-04 12:42:55 +03:00
truncate.md DOCSUP-13875: Document the replication_wait_for_inactive_replica_timeout setting (#28464) 2021-09-09 23:33:08 +03:00
use.md DOCSUP-2806: Add meta header in RU (#15801) 2020-10-26 13:29:30 +03:00
watch.md LIVE-представления, изменение перевода 2021-03-27 21:57:04 +03:00