Skip to content

Support per-pair relationship multiplicity#532

Open
adsharma wants to merge 1 commit into
mainfrom
ladybug-multiplicity
Open

Support per-pair relationship multiplicity#532
adsharma wants to merge 1 commit into
mainfrom
ladybug-multiplicity

Conversation

@adsharma
Copy link
Copy Markdown
Contributor

Summary

  • allow relationship table FROM/TO pairs to specify their own multiplicity overrides
  • preserve table-level multiplicity as the default for pairs without an override
  • enforce child-pair multiplicity during inserts and COPY paths

Fixes #517

Tests

  • E2E_TEST_FILES_DIRECTORY=test/test_files build/release-llvm/test/runner/e2e_test --gtest_filter="rel_group~edge_cases.PerPairMultiplicity*"
  • E2E_TEST_FILES_DIRECTORY=test/test_files build/release-llvm/test/runner/e2e_test --gtest_filter="dml_relcreatecreate_small.CreateRelGroupPerPairMultiplicity"

@adsharma adsharma force-pushed the ladybug-multiplicity branch from 7795bb9 to 6af5687 Compare May 28, 2026 03:15
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.

Feature: Support per-pair multiplicity in multi-FROM-TO CREATE REL TABLE declarations

1 participant