Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions cpp/src/arrow/type_traits.h
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,18 @@ struct CTypeTraits<bool> : public TypeTraits<BooleanType> {
using ArrowType = BooleanType;
};

template <>
struct CTypeTraits<Decimal128Type> {
using ArrowType = Decimal128Type;
using CType = Decimal128;
};

template <>
struct CTypeTraits<Decimal256Type> {
using ArrowType = Decimal256Type;
using CType = Decimal256;
};

#define PRIMITIVE_TYPE_TRAITS_DEF_(CType_, ArrowType_, ArrowArrayType, ArrowBuilderType, \
ArrowScalarType, ArrowTensorType, SingletonFn) \
template <> \
Expand Down