2024-08-06 18:14:09 +00:00
|
|
|
-- Tags: no-fasttest
|
|
|
|
-- no-fasttest: Timeout for the first query (CANNOT_DETECT_FORMAT) is too slow: https://github.com/ClickHouse/ClickHouse/issues/67939
|
|
|
|
|
2019-11-04 22:47:26 +00:00
|
|
|
drop table if exists test_table_url_syntax
|
|
|
|
;
|
2022-01-14 13:27:57 +00:00
|
|
|
create table test_table_url_syntax (id UInt32) ENGINE = URL('')
|
2024-01-23 10:28:57 +00:00
|
|
|
; -- { serverError UNSUPPORTED_URI_SCHEME }
|
2019-11-19 12:46:07 +00:00
|
|
|
create table test_table_url_syntax (id UInt32) ENGINE = URL('','','','')
|
2024-05-30 12:27:25 +00:00
|
|
|
; -- { serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH }
|
2019-11-04 22:47:26 +00:00
|
|
|
drop table if exists test_table_url_syntax
|
|
|
|
;
|
2022-08-25 06:49:27 +00:00
|
|
|
|
|
|
|
drop table if exists test_table_url
|
|
|
|
;
|
|
|
|
|
|
|
|
create table test_table_url(id UInt32) ENGINE = URL('http://localhost/endpoint')
|
2024-01-23 10:28:57 +00:00
|
|
|
; -- { serverError CANNOT_DETECT_FORMAT }
|
2022-08-25 06:49:27 +00:00
|
|
|
|
|
|
|
create table test_table_url(id UInt32) ENGINE = URL('http://localhost/endpoint.json');
|
|
|
|
drop table test_table_url;
|
|
|
|
|
|
|
|
create table test_table_url(id UInt32) ENGINE = URL('http://localhost/endpoint', 'ErrorFormat')
|
2024-05-30 12:27:25 +00:00
|
|
|
; -- { serverError UNKNOWN_FORMAT }
|
2022-08-25 06:49:27 +00:00
|
|
|
|
|
|
|
create table test_table_url(id UInt32) ENGINE = URL('http://localhost/endpoint', 'JSONEachRow', 'gzip');
|
|
|
|
drop table test_table_url;
|
|
|
|
|
|
|
|
create table test_table_url(id UInt32) ENGINE = URL('http://localhost/endpoint', 'JSONEachRow', 'gz');
|
|
|
|
drop table test_table_url;
|
|
|
|
|
|
|
|
create table test_table_url(id UInt32) ENGINE = URL('http://localhost/endpoint', 'JSONEachRow', 'deflate');
|
|
|
|
drop table test_table_url;
|
|
|
|
|
|
|
|
create table test_table_url(id UInt32) ENGINE = URL('http://localhost/endpoint', 'JSONEachRow', 'brotli');
|
|
|
|
drop table test_table_url;
|
|
|
|
|
|
|
|
create table test_table_url(id UInt32) ENGINE = URL('http://localhost/endpoint', 'JSONEachRow', 'lzma');
|
|
|
|
drop table test_table_url;
|
|
|
|
|
|
|
|
create table test_table_url(id UInt32) ENGINE = URL('http://localhost/endpoint', 'JSONEachRow', 'zstd');
|
|
|
|
drop table test_table_url;
|
|
|
|
|
|
|
|
create table test_table_url(id UInt32) ENGINE = URL('http://localhost/endpoint', 'JSONEachRow', 'lz4');
|
|
|
|
drop table test_table_url;
|
|
|
|
|
|
|
|
create table test_table_url(id UInt32) ENGINE = URL('http://localhost/endpoint', 'JSONEachRow', 'bz2');
|
|
|
|
drop table test_table_url;
|
|
|
|
|
|
|
|
create table test_table_url(id UInt32) ENGINE = URL('http://localhost/endpoint', 'JSONEachRow', 'snappy');
|
|
|
|
drop table test_table_url;
|
|
|
|
|
|
|
|
create table test_table_url(id UInt32) ENGINE = URL('http://localhost/endpoint', 'JSONEachRow', 'none');
|
|
|
|
drop table test_table_url;
|
|
|
|
|
|
|
|
create table test_table_url(id UInt32) ENGINE = URL('http://localhost/endpoint', 'JSONEachRow', 'auto');
|
|
|
|
drop table test_table_url;
|
|
|
|
|
|
|
|
create table test_table_url(id UInt32) ENGINE = URL('http://localhost/endpoint.gz', 'JSONEachRow');
|
|
|
|
drop table test_table_url;
|
|
|
|
|
|
|
|
create table test_table_url(id UInt32) ENGINE = URL('http://localhost/endpoint.fr', 'JSONEachRow');
|
|
|
|
drop table test_table_url;
|
|
|
|
|
|
|
|
create table test_table_url(id UInt32) ENGINE = URL('http://localhost/endpoint', 'JSONEachRow');
|
|
|
|
drop table test_table_url;
|
|
|
|
|
|
|
|
create table test_table_url(id UInt32) ENGINE = URL('http://localhost/endpoint', 'JSONEachRow', 'zip')
|
2024-05-30 12:27:25 +00:00
|
|
|
; -- { serverError NOT_IMPLEMENTED }
|
2022-08-25 06:49:27 +00:00
|
|
|
|