mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-19 14:11:58 +00:00
Throw NOT_IMPLEMENTED form ReadOnlyMetadataStorage::getLastChanged()
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
This commit is contained in:
parent
3b7abbbff4
commit
bceca73f6f
@ -124,26 +124,27 @@ public:
|
||||
/// Required by MergeTree
|
||||
return {};
|
||||
}
|
||||
time_t getLastChanged(const std::string & /* path */) const override
|
||||
{
|
||||
return {};
|
||||
}
|
||||
|
||||
struct stat stat(const String & /* path */) const override
|
||||
{
|
||||
throwNotAllowed();
|
||||
}
|
||||
|
||||
uint32_t getHardlinkCount(const std::string & /* path */) const override
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
///
|
||||
/// Throw
|
||||
///
|
||||
struct stat stat(const String & /* path */) const override
|
||||
{
|
||||
throwNotAllowed();
|
||||
}
|
||||
time_t getLastChanged(const std::string & /* path */) const override
|
||||
{
|
||||
throwNotAllowed();
|
||||
}
|
||||
std::string readFileToString(const std::string & /* path */) const override
|
||||
{
|
||||
throwNotAllowed();
|
||||
}
|
||||
|
||||
std::unordered_map<std::string, std::string> getSerializedMetadata(const std::vector<String> & /* file_paths */) const override
|
||||
{
|
||||
throwNotAllowed();
|
||||
|
Loading…
Reference in New Issue
Block a user