Skip to content

Commit

Permalink
Code Formatter / Clang Formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
Yoruet committed Sep 27, 2024
1 parent 2ca9f40 commit 40b3f80
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ AggregateFunctionPtr create_aggregate_function_regr_slope(const std::string& nam
WhichDataType y_type(remove_nullable(argument_types[0]));
WhichDataType x_type(remove_nullable(argument_types[1]));

#define DISPATCH(TYPE) \
if (x_type.idx == TypeIndex::TYPE && y_type.idx == TypeIndex::TYPE) \
return type_dispatch_for_aggregate_function_regr_slope<TYPE>( \
#define DISPATCH(TYPE) \
if (x_type.idx == TypeIndex::TYPE && y_type.idx == TypeIndex::TYPE) \
return type_dispatch_for_aggregate_function_regr_slope<TYPE>( \
argument_types, result_is_nullable, y_nullable_input, x_nullable_input);
FOR_NUMERIC_TYPES(DISPATCH)
#undef DISPATCH
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ class AggregateFunctionRegrSlopeSimple
if constexpr (x_nullable) {
const ColumnNullable& x_column_nullable =
assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*columns[1]);
x_null = x_column_nullable.is_null_at(row_num);
x_null = x_column_nullable.is_null_at(row_num);
x_nested_column = assert_cast<const XInputCol*, TypeCheckOnRelease::DISABLE>(
x_column_nullable.get_nested_column_ptr().get());
} else {
Expand Down

0 comments on commit 40b3f80

Please sign in to comment.