Skip to content

fix: remove file_path from lut_entries UNIQUE constraint to prevent multi-path dedup failure#9

Merged
Cedar17 merged 1 commit into
masterfrom
dev
Jul 2, 2026
Merged

fix: remove file_path from lut_entries UNIQUE constraint to prevent multi-path dedup failure#9
Cedar17 merged 1 commit into
masterfrom
dev

Conversation

@Cedar17

@Cedar17 Cedar17 commented Jul 2, 2026

Copy link
Copy Markdown
Owner

The UNIQUE constraint incorrectly included file_path, causing the same .lib
data from different directory mirrors (aging-ml/DATA/raw/, 0516_scripts/LIBRARY/,
Aging/ML/DATA/raw/) to be inserted as 2~3 duplicate rows.

  • file_path is now a provenance-only column; it does not participate in UNIQUE.
  • New UNIQUE key: (pvt_corner, aged_year, cell_name, output_pin, related_pin,
    "when", arc_type)
  • Added DifferentPathsDeduplicated regression test (3 paths → 1 row)
  • Updated IdempotentWrite DISTINCT query to match new constraint semantics
  • Updated DDL comments and header docs for clarity
  • Version bump 1.2.1 → 1.2.2

Co-Authored-By: Claude noreply@anthropic.com

…ulti-path dedup failure

The UNIQUE constraint incorrectly included `file_path`, causing the same .lib
data from different directory mirrors (aging-ml/DATA/raw/, 0516_scripts/LIBRARY/,
Aging/ML/DATA/raw/) to be inserted as 2~3 duplicate rows.

- file_path is now a provenance-only column; it does not participate in UNIQUE.
- New UNIQUE key: (pvt_corner, aged_year, cell_name, output_pin, related_pin,
  "when", arc_type)
- Added DifferentPathsDeduplicated regression test (3 paths → 1 row)
- Updated IdempotentWrite DISTINCT query to match new constraint semantics
- Updated DDL comments and header docs for clarity
- Version bump 1.2.1 → 1.2.2

Co-Authored-By: Claude <noreply@anthropic.com>
@Cedar17
Cedar17 merged commit ae90183 into master Jul 2, 2026
1 check 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.

1 participant