Skip to content

Conversation

@labkey-adam
Copy link
Contributor

@labkey-adam labkey-adam commented Nov 19, 2025

Rationale

Delegate most IN clause generation to SqlDialect

Move redundant temp-table IN clause generation code into SqlDialect. Move PostgreSQL-specific IN clause code from BasePostgreSqlDialect into PostgreSql92Dialect, since it doesn't apply to Redshift.

ANALYZE all IN-clause temp tables immediately after creating/populating/indexing them.

getAnalyzeCommandForTable() returns SQLFragment

Switch assay run skipping to use an inclusion filter. Switch associated IN clauses to EXISTS clauses to improve performance.

Related Pull Requests

@labkey-adam labkey-adam self-assigned this Nov 20, 2025
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.

4 participants