Skip to content

Commit

Permalink
Fixed build
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisTarasyuk committed Dec 20, 2023
1 parent 7cca346 commit 6c9f66a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions java/gandiva/src/main/cpp/expression_registry_helper.cc
Original file line number Diff line number Diff line change
Expand Up @@ -136,12 +136,12 @@ void ArrowToProtobuf(DataTypePtr type, gandiva::types::ExtGandivaType* gandiva_d
gandiva_data_type->set_intervaltype(gandiva::types::IntervalType::DAY_TIME);
break;
case arrow::Type::LIST: {
gandiva_data_type->set_type(types::GandivaType::LIST);
gandiva_data_type->set_type(gandiva::types::GandivaType::LIST);
if (type->num_fields() <= 0) {
break;
}
if (type->fields()[0]->type()->id() != arrow::Type::LIST) {
types::ExtGandivaType gt;
gandiva::types::ExtGandivaType gt;
ArrowToProtobuf(type->fields()[0]->type(), &gt);
gandiva_data_type->set_listtype(gt.type());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public InnerAllocator() {
}

private UnsafeDirectLittleEndian newDirectBufferL(int initialCapacity, int maxCapacity) {
PoolArenasCache cache = threadCache();
PoolThreadCache cache = threadCache();
PoolArena<ByteBuffer> directArena = cache.directArena;

if (directArena != null) {
Expand Down

0 comments on commit 6c9f66a

Please sign in to comment.