@@ -126,6 +126,27 @@ pub fn build_compare(left: &Array, right: &Array) -> Result<DynComparator> {
126
126
( Int16 , Int16 ) => compare_primitives :: < Int16Type > ( left, right) ,
127
127
( Int32 , Int32 ) => compare_primitives :: < Int32Type > ( left, right) ,
128
128
( Int64 , Int64 ) => compare_primitives :: < Int64Type > ( left, right) ,
129
+ ( Int64Decimal ( 0 ) , Int64Decimal ( 0 ) ) => {
130
+ compare_primitives :: < Int64Decimal0Type > ( left, right)
131
+ }
132
+ ( Int64Decimal ( 1 ) , Int64Decimal ( 1 ) ) => {
133
+ compare_primitives :: < Int64Decimal1Type > ( left, right)
134
+ }
135
+ ( Int64Decimal ( 2 ) , Int64Decimal ( 2 ) ) => {
136
+ compare_primitives :: < Int64Decimal2Type > ( left, right)
137
+ }
138
+ ( Int64Decimal ( 3 ) , Int64Decimal ( 3 ) ) => {
139
+ compare_primitives :: < Int64Decimal3Type > ( left, right)
140
+ }
141
+ ( Int64Decimal ( 4 ) , Int64Decimal ( 4 ) ) => {
142
+ compare_primitives :: < Int64Decimal4Type > ( left, right)
143
+ }
144
+ ( Int64Decimal ( 5 ) , Int64Decimal ( 5 ) ) => {
145
+ compare_primitives :: < Int64Decimal5Type > ( left, right)
146
+ }
147
+ ( Int64Decimal ( 10 ) , Int64Decimal ( 10 ) ) => {
148
+ compare_primitives :: < Int64Decimal10Type > ( left, right)
149
+ }
129
150
( Float32 , Float32 ) => compare_float :: < Float32Type > ( left, right) ,
130
151
( Float64 , Float64 ) => compare_float :: < Float64Type > ( left, right) ,
131
152
( Date32 , Date32 ) => compare_primitives :: < Date32Type > ( left, right) ,
0 commit comments