|
408 | 408 |
|
409 | 409 | function _fill_outputmat_withoutid(T, in_cols, ds, starts, perms, new_col_names, row_names_length, threads; default_fill = missing) |
410 | 410 |
|
411 | | - @assert _check_allocation_limit(nonmissingtype(T), row_names_length*_ngroups(ds), length(new_col_names)) < 1.0 "The output data frame is huge and there is not enough resource to allocate it." |
| 411 | + @assert _check_allocation_limit(nonmissingtype(T), row_names_length*_ngroups(ds), length(new_col_names)) < 1.0 "The output data set is huge and there is not enough resource, check the passed arguments." |
412 | 412 | CT = promote_type(T, typeof(default_fill)) |
413 | 413 | # outputmat = [__fill!(_our_vect_alloc(CT, row_names_length*_ngroups(ds)), default_fill) for _ in 1:length(new_col_names)] |
414 | 414 | outputmat = Vector{typeof(_our_vect_alloc(CT, 0))}(undef, length(new_col_names)) |
|
420 | 420 |
|
421 | 421 | function _fill_outputmat_withid(T, in_cols, ds, starts, perms, ids, new_col_names, row_names_length, threads; default_fill = missing) |
422 | 422 |
|
423 | | - @assert _check_allocation_limit(nonmissingtype(T), row_names_length*_ngroups(ds), length(new_col_names)) < 1.0 "The output data frame is huge and there is not enough resource to allocate it." |
| 423 | + @assert _check_allocation_limit(nonmissingtype(T), row_names_length*_ngroups(ds), length(new_col_names)) < 1.0 "The output data set is huge and there is not enough resource, check the passed arguments." |
424 | 424 | CT = promote_type(T, typeof(default_fill)) |
425 | 425 | # outputmat = [fill!(_our_vect_alloc(CT, row_names_length*_ngroups(ds)), default_fill) for _ in 1:length(new_col_names)] |
426 | 426 | outputmat = Vector{typeof(_our_vect_alloc(CT, 0))}(undef, length(new_col_names)) |
|
0 commit comments