From 5a2dfc900bcb9149c44e07088a7c828920982eea Mon Sep 17 00:00:00 2001 From: JaySon-Huang Date: Wed, 16 Mar 2022 01:22:26 +0800 Subject: [PATCH] Fix lint --- dbms/src/Storages/DeltaMerge/File/DMFileReader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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});