Skip to content

Commit

Permalink
debug window build
Browse files Browse the repository at this point in the history
  • Loading branch information
kszucs committed Dec 17, 2024
1 parent cc462c6 commit 1a499a7
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions cpp/src/arrow/compute/kernels/scalar_hash_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -294,13 +294,12 @@ TEST_F(TestScalarHash, RandomList) {
}
}

TEST_F(TestScalarHash, RandomMap) {
TEST_F(TestScalarHash, RandomStruct) {
auto rand = random::RandomArrayGenerator(kSeed);
auto types = {
map(int32(), int32()),
map(int32(), utf8()),
map(utf8(), list(int16())),
map(utf8(), map(int32(), int32())),
struct_({field("f0", int32()), field("f1", utf8())}),
struct_({field("f0", list(int32()))}),
struct_({field("f0", struct_({field("f0", int32()), field("f1", utf8())}))}),
};
for (auto type : types) {
for (auto length : array_lengths) {
Expand All @@ -313,12 +312,13 @@ TEST_F(TestScalarHash, RandomMap) {
}
}

TEST_F(TestScalarHash, RandomStruct) {
TEST_F(TestScalarHash, RandomMap) {
auto rand = random::RandomArrayGenerator(kSeed);
auto types = {
struct_({field("f0", int32()), field("f1", utf8())}),
struct_({field("f0", list(int32()))}),
struct_({field("f0", struct_({field("f0", int32()), field("f1", utf8())}))}),
map(int32(), int32()),
// map(int32(), utf8()),
// map(utf8(), list(int16())),
// map(utf8(), map(int32(), int32())),
};
for (auto type : types) {
for (auto length : array_lengths) {
Expand Down

0 comments on commit 1a499a7

Please sign in to comment.