mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
Update the test
This commit is contained in:
parent
f0a2b85f05
commit
61ee5e46ad
@ -1 +1 @@
|
||||
11323 8
|
||||
4 3
|
||||
|
@ -1,3 +1,13 @@
|
||||
SELECT COLUMNS(license_text, library_name) APPLY (length) FROM system.licenses ORDER BY library_name LIMIT 1;
|
||||
CREATE TABLE test
|
||||
(
|
||||
foo String,
|
||||
bar String,
|
||||
)
|
||||
ENGINE = MergeTree()
|
||||
ORDER BY (foo, bar);
|
||||
|
||||
SELECT COLUMNS(license_text, library_name, xyz) APPLY (length) FROM system.licenses; -- { serverError UNKNOWN_IDENTIFIER }
|
||||
INSERT INTO test VALUES ('foo', 'bar1');
|
||||
|
||||
SELECT COLUMNS(bar, foo) APPLY (length) FROM test;
|
||||
|
||||
SELECT COLUMNS(bar, foo, xyz) APPLY (length) FROM test; -- { serverError UNKNOWN_IDENTIFIER }
|
||||
|
Loading…
Reference in New Issue
Block a user