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

compose relations #266

Merged
merged 4 commits into from
Feb 18, 2024
Merged

compose relations #266

merged 4 commits into from
Feb 18, 2024

Conversation

andicuko
Copy link
Contributor

No description provided.

/// The output relations will have the same paths as the outer_relations
/// Tables in the outer_relations should have a compatible schema with
/// inner_relations otherwise an error is raised.
pub fn compose_relations<'a>(
Copy link
Contributor

Choose a reason for hiding this comment

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

Why not make this a method of Hierarchy<Arc<Relation>>?

Can't you implement this

impl Hierarchy<Arc<Relation>> {
  pub fn compose()...
}

in this module ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok, Implemented Hierarchy<Arc<Relation>> with the compose method.

@ngrislain ngrislain merged commit 1445a71 into main Feb 18, 2024
1 check passed
@ngrislain ngrislain deleted the composition branch February 18, 2024 13:55
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.

2 participants