@@ -34,8 +34,8 @@ function row_sum(ds::AbstractDataset, f::Function, cols = names(ds, Union{Missi
3434 CT = mapreduce (eltype, promote_type, view (_columns (ds),colsidx))
3535 T = Core. Compiler. return_type (f, Tuple{CT})
3636 CT = our_nonmissingtype (T)
37- CT <: Base.SmallSigned ? CT = Int : nothing
38- CT <: Base.SmallUnsigned ? CT = UInt : nothing
37+ CT <: SMALLSIGNED ? CT = Int : nothing
38+ CT <: SMALLUNSIGNED ? CT = UInt : nothing
3939 CT <: Bool ? CT = Int : nothing
4040 T = Union{Missing, CT}
4141 init0 = _missings (T, nrow (ds))
@@ -69,8 +69,8 @@ function row_prod(ds::AbstractDataset, f::Function, cols = names(ds, Union{Missi
6969 CT = mapreduce (eltype, promote_type, view (_columns (ds),colsidx))
7070 T = Core. Compiler. return_type (f, Tuple{CT})
7171 CT = our_nonmissingtype (T)
72- CT <: Base.SmallSigned ? CT = Int : nothing
73- CT <: Base.SmallUnsigned ? CT = UInt : nothing
72+ CT <: SMALLSIGNED ? CT = Int : nothing
73+ CT <: SMALLUNSIGNED ? CT = UInt : nothing
7474 CT <: Bool ? CT = Int : nothing
7575 T = Union{Missing, CT}
7676 init0 = _missings (T, nrow (ds))
@@ -744,9 +744,9 @@ function row_cumsum!(ds::Dataset, cols = names(ds, Union{Missing, Number}); miss
744744 colsidx = index (ds)[cols]
745745 T = mapreduce (eltype, promote_type, view (_columns (ds),colsidx))
746746 if T <: Union{Missing, INTEGERS}
747- T <: Union{Missing, Base.SmallSigned }
748- T = T <: Union{Missing, Base.SmallSigned , Bool} ? Union{Int, Missing} : T
749- T = T <: Union{Missing, Base.SmallUnsigned } ? Union{Missing, UInt} : T
747+ T <: Union{Missing, SMALLSIGNED }
748+ T = T <: Union{Missing, SMALLSIGNED , Bool} ? Union{Int, Missing} : T
749+ T = T <: Union{Missing, SMALLUNSIGNED } ? Union{Missing, UInt} : T
750750 end
751751 for i in colsidx
752752 if eltype (ds[! , i]) >: Missing
0 commit comments