You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(fuse): support per-column STATS_TRUNCATE_LEN for string statistics (#19815)
* feat(fuse): support per-column STATS_TRUNCATE_LEN for string statistics
Add STATS_TRUNCATE_LEN column option to CREATE TABLE DDL, allowing
users to specify a custom string truncation length (1-4096) for
column-level min/max statistics instead of the default 16 bytes.
Changes:
- Add STATS_TRUNCATE_LEN keyword to parser and column definition AST
- Store field_stats_truncate_len in TableMeta (proto field 39)
- Plumb truncate length through WriteSettings, BlockBuilder, and
ColumnStatisticsState to gen_columns_statistics
- Add trim_string_min/max_with_len helpers for custom-length trimming
- Show STATS_TRUNCATE_LEN in SHOW CREATE TABLE output
- Add proto-conv v175 test and sqllogictest coverage
* z
* z
* z
* z
0 commit comments