Skip to content
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.

Commit

Permalink
fix decimal isEmpty
Browse files Browse the repository at this point in the history
  • Loading branch information
rui-mo committed Aug 11, 2021
1 parent 628329d commit bff3bf8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class NativeDataFrameAggregateSuite extends QueryTest

val absTol = 1e-8

ignore("groupBy") {
test("groupBy") {
checkAnswer(
testData2.groupBy("a").agg(sum($"b")),
Seq(Row(1, 3), Row(2, 3), Row(3, 3))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2095,7 +2095,7 @@ class SumActionPartial<DataType, CType, ResDataType, ResCType,
builder_isempty_->Append(true);
} else {
builder_->AppendNull();
builder_isempty_->AppendNull();
builder_isempty_->Append(false);
}
}
RETURN_NOT_OK(builder_->Finish(&arr_out));
Expand All @@ -2118,7 +2118,7 @@ class SumActionPartial<DataType, CType, ResDataType, ResCType,
builder_isempty_->Append(true);
} else {
builder_->AppendNull();
builder_isempty_->AppendNull();
builder_isempty_->Append(false);
}
}
RETURN_NOT_OK(builder_->Finish(&arr_out));
Expand Down

0 comments on commit bff3bf8

Please sign in to comment.