Skip to content

Filter signed snapshots based on notebook filter#7207

Merged
labkey-adam merged 9 commits intorelease25.11-SNAPSHOTfrom
25.11_fb_clone13
Nov 19, 2025
Merged

Filter signed snapshots based on notebook filter#7207
labkey-adam merged 9 commits intorelease25.11-SNAPSHOTfrom
25.11_fb_clone13

Conversation

@labkey-adam
Copy link
Copy Markdown
Contributor

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

Rationale

Reintroduce MigrationTableHandler, allowing LabBook to filter the compliance.SignedSnapshot table

InClause option to take a temp table InClauseGenerator

Exclude assay experiment runs in the assay-skip containers

Copy core.Documents rows in the background

// Use in cases where the default temp schema won't do, e.g., you need to apply a large IN clause in an external data source
public SQLFragment appendInClauseSql(SQLFragment sql, @NotNull Collection<?> params, InClauseGenerator tempTableGenerator)
// Use only in cases where the default temp-table generator won't do, e.g., you need to apply a large IN clause in an external data source
public SQLFragment appendInClauseSqlWithCustomInClauseGenerator(SQLFragment sql, @NotNull Collection<?> params, InClauseGenerator tempTableGenerator)
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.

tempTableGenerator not used?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

In the default case, no... we don't create temp tables for every dialect (our support for some databases is read-only, e.g.). Providing a custom generator is implemented only for PostgreSQL because that's all I needed. But I certainly can (and will) clean this up in a follow-on PR.

@labkey-adam labkey-adam merged commit 6f4ce90 into release25.11-SNAPSHOT Nov 19, 2025
11 checks passed
@labkey-adam labkey-adam deleted the 25.11_fb_clone13 branch November 19, 2025 17:53
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