Commit a8346be
authored
Minor: make it clear cache array reader is not cloning arrays (#9057)
# Which issue does this PR close?
- related to apache/datafusion#19477
# Rationale for this change
I am tracking down allocations in various parts of the parquet reader
(to remove them) and I ran across this in the cached reader.
# What changes are included in this PR?
Use `Arc::clone` to make it clear there is no deep cloning going on . I
don't expect this will have any impact on actual performance
# Are these changes tested?
By CI
# Are there any user-facing changes?
<!--
If there are user-facing changes then we may require documentation to be
updated before approving the PR.
If there are any breaking changes to public APIs, please call them out.
-->1 parent 721f373 commit a8346be
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
204 | | - | |
| 204 | + | |
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
| |||
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
214 | | - | |
| 214 | + | |
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
| |||
0 commit comments