Skip to content

Conversation

@skalwaghe-56
Copy link
Contributor

Implemented automatic schema merging for collectors that:

  • Unions fields from multiple collect() calls instead of requiring identical schemas
  • Fills missing fields with null values during execution
  • Maintains consistent field ordering (alphabetically sorted by field name)
  • Preserves auto-generated UUID fields across merged schemas

Closes #428.

@skalwaghe-56 skalwaghe-56 force-pushed the fix-issue-428 branch 2 times, most recently from c1c43fc to 531b594 Compare October 7, 2025 11:17
@skalwaghe-56 skalwaghe-56 requested a review from georgeh0 October 7, 2025 11:18
Copy link
Member

@georgeh0 georgeh0 left a comment

Choose a reason for hiding this comment

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

Hi @skalwaghe-56, sorry for the late reply! I missed it somehow.

@skalwaghe-56 skalwaghe-56 force-pushed the fix-issue-428 branch 2 times, most recently from d150498 to 86e0c4e Compare November 1, 2025 13:34
@skalwaghe-56 skalwaghe-56 requested a review from georgeh0 November 1, 2025 13:35
@skalwaghe-56
Copy link
Contributor Author

@georgeh0 Please check now and get this merged. Thanks!

@georgeh0
Copy link
Member

georgeh0 commented Nov 7, 2025

Thanks a lot for the PR! This is a huge work!

@georgeh0 georgeh0 merged commit 1ee970a into cocoindex-io:main Nov 7, 2025
8 checks passed
@badmonster0
Copy link
Member

thanks @skalwaghe-56 this is amazing!!

@skalwaghe-56 skalwaghe-56 deleted the fix-issue-428 branch November 8, 2025 07:16
@skalwaghe-56
Copy link
Contributor Author

@georgeh0 @badmonster0 Thanks!

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] collector automatically merge and align multiple collect() called with different schema

3 participants