diff --git a/cpp/src/arrow/type_traits.h b/cpp/src/arrow/type_traits.h index 1b7a02e1085..900c3e05a56 100644 --- a/cpp/src/arrow/type_traits.h +++ b/cpp/src/arrow/type_traits.h @@ -103,6 +103,16 @@ struct CTypeTraits {}; /// \addtogroup type-traits /// @{ +template <> +struct CTypeTraits : TypeTraits { + using ArrowType = Decimal128Type; +}; + +template <> +struct CTypeTraits : TypeTraits { + using ArrowType = Decimal256Type; +}; + template <> struct TypeTraits { using ArrayType = NullArray;