Skip to content

Conversation

@colinthebomb1
Copy link
Collaborator

Overview:

This PR fixes an issue where during subtree generalization the generalization was not applied in SELECT DISTINCT ON (___).

Testing:

  • Pass all existing tests under test
  • Improved test_generate_spreadsheet_id_18 to correctly generalize the t.playerId in SELECT DISTINCT ON (t.playerId) t.gzpId, t.pubCode, t.playerId to SELECT DISTINCT ON (<x1>) <x2>, <x3>, <x1>

@colinthebomb1 colinthebomb1 self-assigned this Oct 22, 2025
@colinthebomb1 colinthebomb1 changed the title [Fix] Fix issue with subtree generalization not applying to distinct on [Fix] Fix issue with subtree generalization not applying to SELECT DISTINCT ON Oct 22, 2025
@baiqiushi
Copy link
Contributor

@colinthebomb1 , did you try if your new change will pass the postman test for ID_18?

@colinthebomb1 colinthebomb1 merged commit 3d7b980 into main Nov 18, 2025
2 checks passed
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.

3 participants