Skip to content

Commit

Permalink
remove cout and add visitor
Browse files Browse the repository at this point in the history
  • Loading branch information
emkornfield committed Oct 17, 2020
1 parent 5321767 commit c9fa7c2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions cpp/src/arrow/builder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ struct DictionaryBuilderCase {
}
Status Visit(const FixedSizeBinaryType&) { return CreateFor<FixedSizeBinaryType>(); }
Status Visit(const Decimal128Type&) { return CreateFor<Decimal128Type>(); }
Status Visit(const Decimal256Type&) { return CreateFor<Decimal256Type>(); }

Status Visit(const DataType& value_type) { return NotImplemented(value_type); }
Status Visit(const HalfFloatType& value_type) { return NotImplemented(value_type); }
Expand Down
1 change: 0 additions & 1 deletion cpp/src/arrow/ipc/json_simple_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,6 @@ TEST(TestDecimal, Errors) {

TEST(TestDecimal, Dictionary) {
for (std::shared_ptr<DataType> type : {decimal128(10, 2), decimal256(10, 2)}) {
std::cout << type->ToString();
AssertJSONDictArray(int32(), type,
R"(["123.45", "-78.90", "-78.90", null, "123.45"])",
/*indices=*/"[0, 1, 1, null, 0]",
Expand Down

0 comments on commit c9fa7c2

Please sign in to comment.