ClickHouse/tests/queries/0_stateless/01012_show_tables_limit.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
773 B
MySQL
Raw Normal View History

2021-09-12 12:35:27 +00:00
2023-08-15 18:37:39 +00:00
CREATE TABLE {CLICKHOUSE_DATABASE:Identifier}.test1 (test UInt8) ENGINE = TinyLog;
CREATE TABLE {CLICKHOUSE_DATABASE:Identifier}.test2 (test UInt8) ENGINE = TinyLog;
CREATE TABLE {CLICKHOUSE_DATABASE:Identifier}.test3 (test UInt8) ENGINE = TinyLog;
CREATE TABLE {CLICKHOUSE_DATABASE:Identifier}.test4 (test UInt8) ENGINE = TinyLog;
CREATE TABLE {CLICKHOUSE_DATABASE:Identifier}.test5 (test UInt8) ENGINE = TinyLog;
CREATE TABLE {CLICKHOUSE_DATABASE:Identifier}.test6 (test UInt8) ENGINE = TinyLog;
2019-09-15 16:08:26 +00:00
SELECT '*** Should show 6: ***';
2023-08-15 18:37:39 +00:00
SHOW TABLES FROM {CLICKHOUSE_DATABASE:Identifier};
2019-09-15 16:08:26 +00:00
SELECT '*** Should show 2: ***';
2023-08-15 18:37:39 +00:00
SHOW TABLES FROM {CLICKHOUSE_DATABASE:Identifier} LIMIT 2;
2019-09-15 16:08:26 +00:00
SELECT '*** Should show 4: ***';
2023-08-15 18:37:39 +00:00
SHOW TABLES FROM {CLICKHOUSE_DATABASE:Identifier} LIMIT 2 * 2;
2019-09-15 16:08:26 +00:00