Skip to content
Open
Changes from 1 commit
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
10 changes: 10 additions & 0 deletions cpp/src/arrow/type_traits.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,16 @@ struct CTypeTraits {};

/// \addtogroup type-traits
/// @{
template <>
struct CTypeTraits<Decimal128> {

@HuaHuaY HuaHuaY Jun 11, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it should inherit TypeTraits<Decimal128Type> like other specialization.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. Thank you very much for suggestion.

using ArrowType = Decimal128Type;
};

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

template <>
struct TypeTraits<NullType> {
using ArrayType = NullArray;
Expand Down