Skip to content

Commit

Permalink
remove space
Browse files Browse the repository at this point in the history
format
  • Loading branch information
ucasfl committed May 13, 2023
1 parent 2ffd00d commit 2f88605
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions src/Functions/FunctionBinaryArithmetic.h
Expand Up @@ -116,15 +116,11 @@ template <> inline constexpr bool UseLeftDecimal<DataTypeDecimal<Decimal128>, Da
template <> inline constexpr bool UseLeftDecimal<DataTypeDecimal<Decimal128>, DataTypeDecimal<Decimal64>> = true;
template <> inline constexpr bool UseLeftDecimal<DataTypeDecimal<Decimal64>, DataTypeDecimal<Decimal32>> = true;

template <typename DataType>
constexpr bool IsFixedString = false;
template <>
inline constexpr bool IsFixedString<DataTypeFixedString> = true;
template <typename DataType> constexpr bool IsFixedString = false;
template <> inline constexpr bool IsFixedString<DataTypeFixedString> = true;

template <typename DataType>
constexpr bool IsString = false;
template <>
inline constexpr bool IsString<DataTypeString> = true;
template <typename DataType> constexpr bool IsString = false;
template <> inline constexpr bool IsString<DataTypeString> = true;

template <template <typename, typename> class Operation, typename LeftDataType, typename RightDataType>
struct BinaryOperationTraits
Expand Down Expand Up @@ -1686,7 +1682,7 @@ class FunctionBinaryArithmetic : public IFunction
std::string_view str_view = col_left->getDataAt(0).toView();
OpImpl::vectorConstant(col_right->getChars(), col_right->getOffsets(), str_view, data);
}
else
else
{
std::string_view str_view = col_right->getDataAt(0).toView();
OpImpl::vectorConstant(col_left->getChars(), col_left->getOffsets(), str_view, data);
Expand Down

0 comments on commit 2f88605

Please sign in to comment.