-
Notifications
You must be signed in to change notification settings - Fork 8.3k
ClickHouse over web server with static files. #23982
Copy link
Copy link
Closed
Labels
Description
This is experimental task. To check what will happen and make conclusions.
Example: https://phiresky.github.io/blog/2021/hosting-sqlite-databases-on-github-pages/
Use case
Put table's data directory as static files to a web server. Allow to run queries on this data.
It can be useful for serving public datasets.
Describe the solution you'd like
Implement readonly part of IDisk.
To list files in directory and to obtain files metadata, additional "index" files have to be created*.
They can be named .index and contain file name, size and other metadata in tsv format.
* Apache httpd implements index pages on its own. There is also a module for nginx. But we cannot rely on this feature.
Reactions are currently unavailable