mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 19:32:07 +00:00
fix part columns modification time
This commit is contained in:
parent
67ee1a2385
commit
8fa1f69fdf
@ -271,7 +271,8 @@ std::optional<time_t> MergeTreeDataPartWide::getColumnModificationTime(const Str
|
||||
{
|
||||
try
|
||||
{
|
||||
return getDataPartStorage().getFileLastModified(column_name + DATA_FILE_EXTENSION).epochTime();
|
||||
auto name_on_disk = checksums.getFileNameOrHash(column_name);
|
||||
return getDataPartStorage().getFileLastModified(name_on_disk + DATA_FILE_EXTENSION).epochTime();
|
||||
}
|
||||
catch (const fs::filesystem_error &)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user