@@ -174,15 +174,6 @@ typedef std::unordered_map<const FunctionSignature*, const NativeFunction*, KeyH
174174 NativeFunction (#NAME , std::vector<std::string> ALIASES , DataTypeVector{TYPE ()}, \
175175 date64 (), kResultNullIfNull, ARROW_STRINGIFY(NAME ##_from_##TYPE ))
176176
177- // To timestamp functions (used with data/time types) that :
178- // - NULL handling is of type NULL_IF_NULL
179- //
180- // The pre-compiled fn name includes the base name & input type name. eg:
181- // - to_timestamp_date64
182- #define TO_TIMESTAMP_SAFE_NULL_IF_NULL (NAME, ALIASES, TYPE ) \
183- NativeFunction (#NAME , std::vector<std::string> ALIASES , DataTypeVector{TYPE ()}, \
184- timestamp (), kResultNullIfNull, ARROW_STRINGIFY(NAME ##_##TYPE ))
185-
186177// Hash32 functions that :
187178// - NULL handling is of type NULL_NEVER
188179//
@@ -238,12 +229,16 @@ typedef std::unordered_map<const FunctionSignature*, const NativeFunction*, KeyH
238229 NativeFunction::kNeedsContext | NativeFunction::kCanReturnErrors)
239230
240231// Iterate the inner macro over all numeric types
241- #define NUMERIC_TYPES (INNER, NAME, ALIASES ) \
232+ #define BASE_NUMERIC_TYPES (INNER, NAME, ALIASES ) \
242233 INNER (NAME , ALIASES , int8), INNER(NAME , ALIASES , int16), INNER(NAME , ALIASES , int32), \
243234 INNER(NAME , ALIASES , int64), INNER(NAME , ALIASES , uint8), \
244235 INNER(NAME , ALIASES , uint16), INNER(NAME , ALIASES , uint32), \
245236 INNER(NAME , ALIASES , uint64), INNER(NAME , ALIASES , float32), \
246- INNER(NAME , ALIASES , float64), INNER(NAME , ALIASES , decimal128)
237+ INNER(NAME , ALIASES , float64)
238+
239+ // Iterate the inner macro over all base numeric types
240+ #define NUMERIC_TYPES (INNER, NAME, ALIASES ) \
241+ BASE_NUMERIC_TYPES (INNER , NAME , ALIASES ), INNER(NAME , ALIASES , decimal128)
247242
248243// Iterate the inner macro over numeric and date/time types
249244#define NUMERIC_DATE_TYPES (INNER, NAME, ALIASES ) \
0 commit comments