ClickHouse/tests/queries/0_stateless/02843_context_has_expired.sql

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

24 lines
365 B
MySQL
Raw Normal View History

DROP DICTIONARY IF EXISTS dict;
DROP TABLE IF EXISTS source;
CREATE TABLE source
(
id UInt64,
value String
)
ENGINE=Memory;
CREATE DICTIONARY dict
(
id UInt64,
value String
)
PRIMARY KEY id
SOURCE(CLICKHOUSE(TABLE 'source'))
LAYOUT(DIRECT());
SELECT 1 IN (SELECT dictGet('dict', 'value', materialize('1')));
DROP DICTIONARY dict;
DROP TABLE source;