diff --git a/cpp/src/arrow/array.h b/cpp/src/arrow/array.h index 83cda33d1a6d0..afbd780dd3ad5 100644 --- a/cpp/src/arrow/array.h +++ b/cpp/src/arrow/array.h @@ -86,8 +86,7 @@ struct Decimal; struct ARROW_EXPORT ArrayData { ArrayData() : length(0) {} - ArrayData( - const std::shared_ptr& type, int64_t length, + ArrayData(const std::shared_ptr& type, int64_t length, int64_t null_count = kUnknownNullCount, int64_t offset = 0) : type(type), length(length), null_count(null_count), offset(offset) {}