diff --git a/dbms/src/Storages/DeltaMerge/File/DMFileReader.cpp b/dbms/src/Storages/DeltaMerge/File/DMFileReader.cpp index 885c7d6618c..b0db3fc3088 100644 --- a/dbms/src/Storages/DeltaMerge/File/DMFileReader.cpp +++ b/dbms/src/Storages/DeltaMerge/File/DMFileReader.cpp @@ -391,7 +391,7 @@ Block DMFileReader::read() } else if (cd.id == TAG_COLUMN_ID) { - column = cd.type->createColumnConst(read_rows, Field((UInt64)(pack_stats[start_pack_id].first_tag))); + column = cd.type->createColumnConst(read_rows, Field(static_cast(pack_stats[start_pack_id].first_tag))); } res.insert(ColumnWithTypeAndName{column, cd.type, cd.name, cd.id});