Skip to content

Commit

Permalink
Review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
rok committed Dec 11, 2023
1 parent 8ad357a commit 50dc6a4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
1 change: 0 additions & 1 deletion cpp/src/arrow/acero/util_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

#include "arrow/acero/hash_join_node.h"
#include "arrow/acero/schema_util.h"
#include "arrow/testing/extension_type.h"
#include "arrow/testing/gtest_util.h"
#include "arrow/testing/matchers.h"

Expand Down
8 changes: 7 additions & 1 deletion cpp/src/arrow/c/bridge_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2160,10 +2160,15 @@ TEST_F(TestSchemaImport, RunEndEncoded) {
#endif

TEST_F(TestSchemaImport, Dictionary) {
FillPrimitive("w:16");
c_struct_.metadata = kEncodedUuidMetadata.c_str();
auto expected = uuid();
CheckImport(expected);

FillPrimitive(AddChild(), "u");
FillPrimitive("c");
FillDictionary();
auto expected = dictionary(int8(), utf8());
expected = dictionary(int8(), utf8());
CheckImport(expected);

FillPrimitive(AddChild(), "u");
Expand Down Expand Up @@ -3695,6 +3700,7 @@ TEST_F(TestSchemaRoundtrip, Dictionary) {
}

TEST_F(TestSchemaRoundtrip, UnregisteredExtension) {
TestWithTypeFactory(uuid, []() { return uuid(); });
TestWithTypeFactory(complex128, []() {
return struct_({::arrow::field("real", float64(), /*nullable=*/false),
::arrow::field("imag", float64(), /*nullable=*/false)});
Expand Down
2 changes: 1 addition & 1 deletion python/pyarrow/src/arrow/python/gdb.cc
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class UuidType : public ExtensionType {
return Status::NotImplemented("");
}

std::string Serialize() const override { return "uuid-serialized"; }
std::string Serialize() const override { return ""; }
};

std::shared_ptr<Array> SliceArrayFromJSON(const std::shared_ptr<DataType>& ty,
Expand Down

0 comments on commit 50dc6a4

Please sign in to comment.