ClickHouse/tests/queries/0_stateless/02417_keeper_map_create_drop.sql
Joanna Hulboj 77fe02480f Revert "Prepend _ to literals starting with a digit"
This reverts commit 719f1482193c93aaba65ef179b8b58bea69c15cb.
2022-12-07 12:50:51 +00:00

21 lines
721 B
SQL

-- Tags: no-ordinary-database, no-fasttest
DROP TABLE IF EXISTS 02417_test SYNC;
CREATE TABLE 02417_test (key UInt64, value UInt64) Engine=KeeperMap('/' || currentDatabase() || '/test2417') PRIMARY KEY(key);
INSERT INTO 02417_test VALUES (1, 11);
SELECT * FROM 02417_test ORDER BY key;
SELECT '------';
CREATE TABLE 02417_test_another (key UInt64, value UInt64) Engine=KeeperMap('/' || currentDatabase() || '/test2417') PRIMARY KEY(key);
INSERT INTO 02417_test_another VALUES (2, 22);
SELECT * FROM 02417_test_another ORDER BY key;
SELECT '------';
SELECT * FROM 02417_test ORDER BY key;
SELECT '------';
DROP TABLE 02417_test SYNC;
SELECT * FROM 02417_test_another ORDER BY key;
DROP TABLE 02417_test_another SYNC;