Skip to content

Commit 33cdae4

Browse files
committed
MINOR: Fix Gandiva JNI build against Arrow C++ 24.0.0
arrow::decimal() was removed in Arrow C++ 24.0.0; replace with arrow::decimal128().
1 parent 0f0a584 commit 33cdae4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gandiva/src/main/cpp/jni_common.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ DataTypePtr ProtoTypeToDataType(const gandiva::types::ExtGandivaType& ext_type)
221221
return arrow::date64();
222222
case gandiva::types::DECIMAL:
223223
// TODO: error handling
224-
return arrow::decimal(ext_type.precision(), ext_type.scale());
224+
return arrow::decimal128(ext_type.precision(), ext_type.scale());
225225
case gandiva::types::TIME32:
226226
return ProtoTypeToTime32(ext_type);
227227
case gandiva::types::TIME64:

0 commit comments

Comments
 (0)