You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "neilconway (via GitHub)" <gi...@apache.org> on 2026/03/01 23:16:57 UTC

Re: [PR] perf: Optimize `to_char` to allocate less, fix NULL handling [datafusion]

neilconway commented on PR #20635:
URL: https://github.com/apache/datafusion/pull/20635#issuecomment-3981271246

   Benchmarks:
   
   ```
     ┌───────────────────────────────┬───────────┬───────────────────┬────────┐
     │           Benchmark           │ Data type │      Format       │ Change │
     ├───────────────────────────────┼───────────┼───────────────────┼────────┤
     │ array_date_only_patterns_1000 │ Date32    │ array, date-only  │ -10%   │
     ├───────────────────────────────┼───────────┼───────────────────┼────────┤
     │ array_datetime_patterns_1000  │ Date64    │ array, datetime   │ -10%   │
     ├───────────────────────────────┼───────────┼───────────────────┼────────┤
     │ array_mixed_patterns_1000     │ Date64    │ array, mixed      │ -10%   │
     ├───────────────────────────────┼───────────┼───────────────────┼────────┤
     │ scalar_date_only_pattern_1000 │ Date32    │ scalar, date-only │ -22%   │
     ├───────────────────────────────┼───────────┼───────────────────┼────────┤
     │ scalar_datetime_pattern_1000  │ Date64    │ scalar, datetime  │ -17%   │
     └───────────────────────────────┴───────────┴───────────────────┴────────┘
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org