Skip to content

fix: EXPLAIN ANALYZE 修复 - SeqScan 替换 IndexScan,跳过 SortPlan,补充行数统计

不要与我作队 requested to merge ready into main

修复内容:

  1. convert_plan_to_executor_with_map 始终创建 SeqScanExecutor (IndexScanExecutor 不统计 total_scanned_/row_count_,导致 rows=0)
  2. 跳过 SortPlan(排序与行数统计无关)
  3. build_explain_recursive 固定 type=SeqScan(P4 规范)
  4. NestedLoopJoinExecutor::Next() 添加 row_count_++
  5. ProjectionExecutor::Next() 添加 row_count_++

Co-Authored-By: Claude noreply@anthropic.com

Merge request reports