From f5c635df3508b87bf830a2d929918b9afa3947d1 Mon Sep 17 00:00:00 2001 From: zhanglistar Date: Thu, 5 Dec 2024 10:22:06 +0800 Subject: [PATCH] fix clang-tidy build --- src/Interpreters/convertFieldToType.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Interpreters/convertFieldToType.cpp b/src/Interpreters/convertFieldToType.cpp index 99f01a6f120..ef70307ccf1 100644 --- a/src/Interpreters/convertFieldToType.cpp +++ b/src/Interpreters/convertFieldToType.cpp @@ -585,7 +585,7 @@ Field convertFieldToTypeImpl(const Field & src, const IDataType & type, const ID throw; } - if (!col->size()) + if (col->empty()) return Field(Null()); Field parsed = (*col)[0]; return convertFieldToType(parsed, type, from_type_hint, format_settings);