Skip to content

[SQL] GC output of input_map_with_waterline#4631

Merged
mihaibudiu merged 1 commit into
mainfrom
issue2669
Aug 26, 2025
Merged

[SQL] GC output of input_map_with_waterline#4631
mihaibudiu merged 1 commit into
mainfrom
issue2669

Conversation

@mihaibudiu

Copy link
Copy Markdown
Contributor

Fixes #2669

This PR also fixes a bunch of typos in comments

Signed-off-by: Mihai Budiu <mbudiu@feldera.com>
Copilot AI review requested due to automatic review settings August 26, 2025 00:25

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR addresses garbage collection for the output of input_map_with_waterline operators as mentioned in issue #2669, while also fixing numerous typos and removing unused imports throughout the SQL compiler codebase.

Key changes include:

  • Added garbage collection support for DBSPInputMapWithWaterlineOperator by integrating DBSPIntegrateTraceRetainValuesOperator
  • Extensive cleanup of unused imports across Java files
  • Fixed grammar, spelling, and formatting issues in comments and documentation
  • Improved code style with better variable naming and enhanced for-loop usage

Reviewed Changes

Copilot reviewed 59 out of 59 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
sql-to-dbsp-compiler/SQL-compiler/src/main/java/org/dbsp/sqlCompiler/compiler/visitors/outer/monotonicity/InsertLimiters.java Added garbage collection logic for input_map_with_waterline by creating DBSPIntegrateTraceRetainValuesOperator
sql-to-dbsp-compiler/SQL-compiler/src/test/java/org/dbsp/sqlCompiler/compiler/sql/CatalogTests.java Added test to verify garbage collection behavior for InputMapWithWaterline
sql-to-dbsp-compiler/SQL-compiler/src/main/java/org/dbsp/sqlCompiler/compiler/visitors/outer/StrayGC.java Added exception for DBSPInputMapWithWaterlineOperator in GC checking logic
Multiple files Removed unused imports throughout the codebase
Multiple files Fixed typos, grammar issues, and improved comment formatting

@mihaibudiu

Copy link
Copy Markdown
Contributor Author

Before:
final
After:
after

@mihaibudiu mihaibudiu changed the title [SQL] GC output of input_map_with_waterline [SQL] GC output of input_map_with_waterline Aug 26, 2025
@mihaibudiu mihaibudiu enabled auto-merge August 26, 2025 00:32
@mihaibudiu mihaibudiu added this pull request to the merge queue Aug 26, 2025
@mihaibudiu mihaibudiu removed this pull request from the merge queue due to a manual request Aug 26, 2025
@mihaibudiu mihaibudiu added this pull request to the merge queue Aug 26, 2025
Merged via the queue into main with commit 68a1ac8 Aug 26, 2025
1 check passed
@mihaibudiu mihaibudiu deleted the issue2669 branch August 26, 2025 18:58
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.

[dbsp] the add_input_map operator mixes input filtering with GC

3 participants