Skip to content

[FEATURE] collector automatically merge and align multiple collect() called with different schema #428

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
badmonster0 opened this issue May 3, 2025 · 0 comments
Labels
cocoindex-core CocoIndex Core Engine

Comments

@badmonster0
Copy link
Member

badmonster0 commented May 3, 2025

e.g.

collector.collect(field1=x, field2=y);
collector.collect(field1=x, field3=z);

The schema for the collector should have field1, field2 and field3.

During execution, we should also be able to align fields and fill null values for missing fields, and get a schema with fields field1, field2 and field3.

@badmonster0 badmonster0 added the cocoindex-core CocoIndex Core Engine label May 3, 2025
@badmonster0 badmonster0 changed the title [BUG] collector schema should be aligned when multiple collect() called with different schema [FEATURE] collector automatically merge and align multiple collect() called with different schema May 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cocoindex-core CocoIndex Core Engine
Projects
None yet
Development

No branches or pull requests

1 participant