Skip to content
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

Subgraph Composition: Support multiple subgraph datasources #5731

Open
wants to merge 10 commits into
base: krishna/sgc-multiple-sg-sources-fix
Choose a base branch
from

Conversation

incrypto32
Copy link
Member

No description provided.

@incrypto32 incrypto32 added this to the Subgraph Composition milestone Dec 16, 2024
@zorancv zorancv force-pushed the krishna/sgc-declared-calls branch from 56f041a to 460f33e Compare December 18, 2024 18:37
@incrypto32 incrypto32 force-pushed the krishna/sgc-multiple-sg-sources branch from 6dfd085 to a426a32 Compare December 19, 2024 12:47
@incrypto32 incrypto32 changed the base branch from krishna/sgc-declared-calls to zoran/subgraph-composition-rework-vid-wrap2 December 20, 2024 07:16
@incrypto32 incrypto32 force-pushed the krishna/sgc-multiple-sg-sources branch from a426a32 to c61b650 Compare December 20, 2024 07:29
@zorancv zorancv force-pushed the zoran/subgraph-composition-rework-vid-wrap2 branch from 02ce854 to 62d1e2b Compare January 3, 2025 14:25
@incrypto32 incrypto32 force-pushed the krishna/sgc-multiple-sg-sources branch from c61b650 to 8c2be00 Compare January 6, 2025 07:22
@incrypto32 incrypto32 marked this pull request as ready for review January 7, 2025 07:40
@incrypto32 incrypto32 force-pushed the krishna/sgc-multiple-sg-sources branch from 5c14264 to 1ff44c6 Compare January 7, 2025 08:22
@incrypto32 incrypto32 force-pushed the krishna/sgc-multiple-sg-sources branch from 1ff44c6 to f43bf1b Compare January 13, 2025 07:31
@incrypto32 incrypto32 changed the base branch from zoran/subgraph-composition-rework-vid-wrap2 to krishna/sgc-multiple-sg-sources-fix January 13, 2025 07:32
@fordN fordN requested a review from mangas January 13, 2025 16:47
}

pub fn entity_type(&self) -> &str {
self.entity.entity_type.as_str()
}
}

impl Ord for TriggerData {
fn cmp(&self, other: &Self) -> std::cmp::Ordering {
match self.source_idx.cmp(&other.source_idx) {
Copy link
Contributor

Choose a reason for hiding this comment

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

This is somewhat important, I think would be worth some comments/documentation about the decision and why it is working this way. Also probably a simple test to ensure this assumption is not broken going forward

@mangas
Copy link
Contributor

mangas commented Jan 16, 2025

LGTM, really nice that you got added an integration test with the aggregation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants