/claim #823

Description

Optimizes omni_schema.dependency view for performance (~7.5x improvement).

Changes

  • omni_schema.dependency:
    • Fixed cartesian product bug in operator namespace joins (O(N*M) -> O(N)).
    • Pushed deptype != 'i' filter into UNION ALL branches to reduce intermediate set size.
    • Selected only necessary columns (refclassid, refobjid, refobjsubid) instead of full pg_depend composite.
  • Tests:
    • Added regression test for operator with cross-schema types.
  • Version:
    • Bumped omni_schema to 0.3.1.

Benchmarks

View Before (Median) After (Median) Improvement
dependency ~12,500 ms ~1,657 ms 7.5x

Claim

Total prize pool $1,000
Total paid $0
Status Pending
Submitted January 15, 2026
Last updated January 15, 2026

Contributors

NT

ntoledo319

@ntoledo319

100%

Sponsors

OM

Omnigres

@omnigres

$1,000