fix clang-tidy build

This commit is contained in:
zhanglistar 2024-12-05 10:22:06 +08:00
parent 7e5aa5f1bd
commit f5c635df35

View File

@ -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);