databendlabs / databend

๐——๐—ฎ๐˜๐—ฎ, ๐—”๐—ป๐—ฎ๐—น๐˜†๐˜๐—ถ๐—ฐ๐˜€ & ๐—”๐—œ. Modern alternative to Snowflake. Cost-effective and simple for massive-scale analytics. https://databend.com
https://docs.databend.com
Other
7.85k stars 750 forks source link

chore(query): reduce unsafe codes in kernels #16633

Closed sundy-li closed 4 weeks ago

sundy-li commented 4 weeks ago

I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/

Summary

  1. reduce unsafe codes in FilterVisitor and Take/Concat kernels
  2. introduce IterationStrategy in FilterVisitor based on https://dl.acm.org/doi/abs/10.1145/3465998.3466009

Performance did not improve, we need to re benchmark it after StringView is introduced.

Tests

Type of change


This change isโ€‚Reviewable