Skip to content

Commit 829f566

Browse files
committed
Drop unnecessary materialize hint
1 parent 615d1c7 commit 829f566

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/galaxy/managers/jobs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ def _filter_jobs(
572572
self, stmt, tool_id: str, user_id: int, tool_version: Optional[str], job_state, wildcard_param_dump
573573
):
574574
"""Build subquery that selects a job with correct job parameters."""
575-
job_ids_materialized_cte = stmt.cte("job_ids_cte").prefix_with("MATERIALIZED", dialect="postgresql")
575+
job_ids_materialized_cte = stmt.cte("job_ids_cte")
576576
outer_select_columns = [job_ids_materialized_cte.c[col.name] for col in stmt.selected_columns]
577577
stmt = select(*outer_select_columns).select_from(job_ids_materialized_cte)
578578
stmt = (

0 commit comments

Comments
 (0)