ClickHouse/tests/queries/0_stateless/02457_filesystem_function.sql

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

7 lines
397 B
MySQL
Raw Normal View History

2022-11-22 01:02:36 +00:00
-- Tags: no-fasttest
select filesystemCapacity('s3_disk') >= filesystemAvailable('s3_disk') and filesystemAvailable('s3_disk') >= filesystemUnreserved('s3_disk');
select filesystemCapacity('default') >= filesystemAvailable('default') and filesystemAvailable('default') >= 0 and filesystemUnreserved('default') >= 0;
select filesystemCapacity('__un_exists_disk'); -- { serverError UNKNOWN_DISK }