Affiliations
Projects
Talks & podcasts
WG21 papers
Blog posts
Other activity
- Merged PR[improvement](be) Pack short string keys in hash joins
What problem does this PR solve? A single short string equality key currently uses a pointer and length for each build and probe row. Matching a candidate can require another read of the build string. Scan the build keys once and choose a…
Apache Doris#70748 · by HappenLee - Merged PR[improvement](be) Prune sparse IN predicates with full-set zone map checks
Background Doris uses segment and page zone maps to exclude data ranges before reading rows. A storage IN predicate currently compares the zone's bounds with the minimum and maximum IN values. Row-level membership checks still use the full…
Apache Doris#70559 · by HappenLee - Merged PR[fix](paimon) Align BLOB Thrift fields with branch-4.1
What problem does this PR solve? Related PR: #69658 Problem Summary: TQueryOptions field 237 represents paimon_blob_max_size on branch-4.1 and the analytic spill limit on master. A non-default BLOB limit is therefore decoded as the spill…
Apache Doris#70073 · by HappenLee - Merged PR[improvement](be) Accelerate fixed-size CRC32 hashing on ARM64
What problem does this PR solve? Issue Number: None Problem Summary: Fixed-size numeric bucket hashing uses software lookup tables on ARM64 even when the build enables the CRC extension. Use IEEE CRC32 intrinsics for 1-, 2-, 4- and 8-byte…
Apache Doris#70513 · by HappenLee - Merged PR[improvement](be) Accelerate relative-day weekday lookup
What problem does this PR solve? next_day and previous_day copy and uppercase the weekday string and search an unordered_map for every row, including repeated constant weekday arguments. Use a specialized, compile-time-checked 32-slot…
Apache Doris#69897 · by HappenLee - Merged PR[improvement](be) Accelerate phmap control scans with ARM NEON
What problem does this PR solve? Issue Number: None Problem Summary: AArch64 currently uses portable scalar phmap control-byte scans. The subtraction-based H2 mask can include adjacent false-positive candidates: control bytes 0x12, 0x13…
Apache Doris#69688 · by HappenLee - Merged PR[improvement](be) Compact selected row indices with mask lookups
What problem does this PR solve? Issue Number: None Problem Summary: SegmentIterator expands partially selected SIMD masks one set bit at a time, creating a serial dependency for every selected row. Expand x86 masks with more than two…
Apache Doris#69818 · by HappenLee - Merged PR[improvement](be) Reduce map and string array deduplication overhead
What problem does this PR solve? Problem Summary: map(k, v) serializes its keys and allocates deduplication buffers even though each output row has only one pair. String array_distinct grows its character buffer and copies each retained…
Apache Doris#69690 · by HappenLee - Merged PR[improvement](be) Fuse runtime filter mask merging and counting with SSE
What problem does this PR solve? Issue Number: N/A Related PR: N/A Problem Summary: RuntimeFilterExpr::execute_filter scans the result mask three times for every non-constant filter: count live input rows, AND the new filter into the mask,…
Apache Doris#69685 · by HappenLee - Merged PR[refactor](be) Remove unused column APIs
What problem does this PR solve? Issue Number: None Problem Summary: IColumnDummy::addSize() and ColumnDictI32::Dictionary::avg_str_len() have no callers. Remove both helpers, along with the unused _total_str_len counter and its per-insert…
Apache Doris#69758 · by HappenLee - Merged PRbranch-4.2: [improvement](zonemap) Support column-vs-column expression pruning (#67774)
What problem does this PR solve? Issue Number: None Related PR: #67774 Problem Summary: Backport #67774 to branch-4.2. Comparisons such as a != b and a < b can use both columns' zone-map ranges to discard native segments and Parquet V2 row…
Apache Doris#69659 · by HappenLee - Merged PR[improvement](be) Adapt bucket counts for bucketed aggregation
What problem does this PR solve? Issue Number: N/A Related PR: N/A Problem Summary: Bucketed aggregation always allocates 256 hash tables per sink, even when a query has only one sink and one source. It also selects a bucket from…
Apache Doris#69425 · by HappenLee - Merged PR[improvement](be) Optimize string functions and ARM byte checks
What problem does this PR solve? Issue Number: N/A Related PR: N/A Problem Summary: String functions incur avoidable work on mostly ASCII columns and constant arguments. This change dispatches ASCII rows in mixed columns to the existing…
Apache Doris#69223 · by HappenLee - Merged PRbranch-4.2: [fix](be) Fix length reads on dictionary columns
What problem does this PR solve? Issue Number: N/A Related PR: #63498, #68214 Problem Summary: With low-cardinality optimization enabled, a query such as SELECT length(varchar_column) FROM t can fail with NOT_IMPLEMENTED_ERROR: Method…
Apache Doris#69279 · by HappenLee - Merged PR[test](regression) Stabilize aggregate state finalize MV rollup checks
What problem does this PR solve? Related PR: #68312 agg_state_finalize_roll_up can fail its chosen-MV assertion even when rewriting succeeds. In CloudP0 build 1066869, both the 700-row base table and finalize_sum_mv were estimated at one…
Apache Doris#69042 · by HappenLee