diff --git a/cpp/src/arrow/array/array_decimal.h b/cpp/src/arrow/array/array_decimal.h index c9a0aff1bf36c..b7c8515304863 100644 --- a/cpp/src/arrow/array/array_decimal.h +++ b/cpp/src/arrow/array/array_decimal.h @@ -31,7 +31,7 @@ namespace arrow { /// Template Array class for decimal data template -class BaseDecimalArray : public FixedSizeBinaryArray { +class ARROW_EXPORT BaseDecimalArray : public FixedSizeBinaryArray { public: using TypeClass = typename DecimalTypeTraits::TypeClass; using ValueType = typename DecimalTypeTraits::ValueType; diff --git a/cpp/src/arrow/array/builder_decimal.h b/cpp/src/arrow/array/builder_decimal.h index 410bcac235aeb..4c27fc0cf1b64 100644 --- a/cpp/src/arrow/array/builder_decimal.h +++ b/cpp/src/arrow/array/builder_decimal.h @@ -31,7 +31,7 @@ namespace arrow { template -class BaseDecimalBuilder : public FixedSizeBinaryBuilder { +class ARROW_EXPORT BaseDecimalBuilder : public FixedSizeBinaryBuilder { public: using TypeClass = typename DecimalTypeTraits::TypeClass; using ArrayType = typename DecimalTypeTraits::ArrayType; diff --git a/cpp/src/arrow/type.h b/cpp/src/arrow/type.h index afd66e7a0f264..6b944fc249684 100644 --- a/cpp/src/arrow/type.h +++ b/cpp/src/arrow/type.h @@ -895,7 +895,7 @@ class ARROW_EXPORT DecimalType : public FixedSizeBinaryType { /// \brief Template type class for decimal data template -class BaseDecimalType : public DecimalType { +class ARROW_EXPORT BaseDecimalType : public DecimalType { public: static constexpr const char* type_name() { return DecimalMeta::name; } diff --git a/cpp/src/arrow/util/basic_decimal.h b/cpp/src/arrow/util/basic_decimal.h index 0b48f89f1b9db..6f08ec0b65dc3 100644 --- a/cpp/src/arrow/util/basic_decimal.h +++ b/cpp/src/arrow/util/basic_decimal.h @@ -338,7 +338,7 @@ ARROW_EXPORT BasicDecimal256 operator/(const BasicDecimal256& left, template -class BasicDecimalAnyWidth { +class ARROW_EXPORT BasicDecimalAnyWidth { public: using ValueType = typename IntTypes::signed_type; /// \brief Empty constructor creates a BasicDecimal256 with a value of 0.