Skip to content

feat: add Phase 8 extended window functions#24

Merged
sivchari merged 1 commit intomainfrom
feature/phase8-window-functions
Feb 5, 2026
Merged

feat: add Phase 8 extended window functions#24
sivchari merged 1 commit intomainfrom
feature/phase8-window-functions

Conversation

@sivchari
Copy link
Copy Markdown
Owner

@sivchari sivchari commented Feb 5, 2026

Summary

Phase 8: Extended Window Functions

  • PERCENT_RANK / CUME_DIST (DataFusion native)
  • RATIO_TO_REPORT via SQL rewrite

Note: CONDITIONAL_TRUE_EVENT / CONDITIONAL_CHANGE_EVENT はスキップ (複雑なカスタム Window UDF が必要)

Changes

  • engine/src/sql_rewriter.rs: RATIO_TO_REPORT 実装
  • engine/src/executor.rs: テスト追加
  • go/integration_test.go: Phase 8 統合テスト

Test plan

  • cargo fmt --check
  • cargo clippy -- -D warnings
  • cargo test --workspace (199 tests)

- Add PERCENT_RANK and CUME_DIST tests (DataFusion native)
- Implement RATIO_TO_REPORT via SQL rewrite (expr / SUM(expr) OVER)
- Add Go integration tests for window functions
@sivchari sivchari merged commit f6afa44 into main Feb 5, 2026
1 check passed
@sivchari sivchari deleted the feature/phase8-window-functions branch February 5, 2026 08:56
@github-actions github-actions bot mentioned this pull request Feb 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant