Commit fa30489
authored
perf: use
## Which issue does this PR close?
N/A
## Rationale for this change
new_repeated is much faster than the iterator itself
## What changes are included in this PR?
use `new_repeated` when convert scalar to array for
Utf8/LargeUtf8/Binary/LargeBinary
## Are these changes tested?
Existing tests
## Are there any user-facing changes?
Nopenew_repeated when converting scalar to an array (#19018)1 parent e43e8bf commit fa30489
1 file changed
+8
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3022 | 3022 | | |
3023 | 3023 | | |
3024 | 3024 | | |
3025 | | - | |
3026 | | - | |
3027 | | - | |
| 3025 | + | |
3028 | 3026 | | |
3029 | 3027 | | |
3030 | 3028 | | |
| |||
3034 | 3032 | | |
3035 | 3033 | | |
3036 | 3034 | | |
3037 | | - | |
3038 | | - | |
3039 | | - | |
| 3035 | + | |
3040 | 3036 | | |
3041 | 3037 | | |
3042 | 3038 | | |
3043 | | - | |
3044 | | - | |
3045 | | - | |
| 3039 | + | |
| 3040 | + | |
| 3041 | + | |
3046 | 3042 | | |
3047 | 3043 | | |
3048 | 3044 | | |
| |||
3069 | 3065 | | |
3070 | 3066 | | |
3071 | 3067 | | |
3072 | | - | |
3073 | | - | |
3074 | | - | |
| 3068 | + | |
| 3069 | + | |
| 3070 | + | |
3075 | 3071 | | |
3076 | 3072 | | |
3077 | 3073 | | |
| |||
0 commit comments