Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New functions filesystemAvailable, filesystemFree and filesystemCapacity #4097

Merged
merged 1 commit into from
Jan 18, 2019

Conversation

bgranvea
Copy link
Contributor

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Category:

  • New Feature

The functions filesystemAvailable, filesystemFree and filesystemCapacity allow to get information on the space usage of data directory. This can be useful to get these simple information inside Clickhouse.

@alexey-milovidov alexey-milovidov merged commit fb9a3b1 into ClickHouse:master Jan 18, 2019
@alexey-milovidov
Copy link
Member

Missing test.

@bgranvea
Copy link
Contributor Author

what kind of test can I write? because I can't check that the returned value is correct (at least not in stateless sql scripts). So just a simple test which checks that the functions return something?

alexey-milovidov added a commit that referenced this pull request Jan 18, 2019
@alexey-milovidov
Copy link
Member

Yes, just a minimal test. I've added one.

@bgranvea
Copy link
Contributor Author

ok, thank you.

@dcastanier dcastanier deleted the filesystem_functions branch January 31, 2019 10:44
@alexey-milovidov
Copy link
Member

A bug has been found: #38423

@alexey-milovidov alexey-milovidov self-assigned this Jun 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants