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

Merged
merged 1 commit into from
Feb 4, 2025

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.

@incrypto32 incrypto32 force-pushed the krishna/sgc-multiple-sg-sources-fix branch 2 times, most recently from 06edc2b to f38680e Compare January 28, 2025 12:08
@incrypto32 incrypto32 force-pushed the krishna/sgc-multiple-sg-sources branch from 0d84676 to a8bb6c5 Compare January 28, 2025 12:19
@incrypto32 incrypto32 force-pushed the krishna/sgc-multiple-sg-sources-fix branch from 197b18d to 2a45671 Compare January 31, 2025 13:56
@incrypto32 incrypto32 force-pushed the krishna/sgc-multiple-sg-sources branch from a8bb6c5 to c9875f5 Compare January 31, 2025 14:36
@incrypto32 incrypto32 force-pushed the krishna/sgc-multiple-sg-sources-fix branch 2 times, most recently from e28ab16 to 4a290bf Compare February 3, 2025 09:15
@incrypto32 incrypto32 force-pushed the krishna/sgc-multiple-sg-sources branch from c9875f5 to e981792 Compare February 3, 2025 09:24
@incrypto32 incrypto32 changed the base branch from krishna/sgc-multiple-sg-sources-fix to krishna/sgc-validation February 3, 2025 09:24
@incrypto32 incrypto32 force-pushed the krishna/sgc-validation branch from cb0f57e to 5d2e3c8 Compare February 3, 2025 09:28
@incrypto32 incrypto32 force-pushed the krishna/sgc-multiple-sg-sources branch 2 times, most recently from 81d2898 to ad7075c Compare February 3, 2025 09:32
@incrypto32 incrypto32 changed the base branch from krishna/sgc-validation to master February 4, 2025 05:25
@incrypto32 incrypto32 force-pushed the krishna/sgc-multiple-sg-sources branch from aabefc2 to 043685e Compare February 4, 2025 05:30
@incrypto32 incrypto32 force-pushed the krishna/sgc-multiple-sg-sources branch 2 times, most recently from b7d2eec to 14c2762 Compare February 4, 2025 06:51
@incrypto32 incrypto32 force-pushed the krishna/sgc-multiple-sg-sources branch from 14c2762 to f1df5b7 Compare February 4, 2025 07:35
@incrypto32 incrypto32 merged commit ede2071 into master Feb 4, 2025
6 checks passed
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.

3 participants