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

Feature: Use Postgres LTREE for groups hierarchy #2214

Closed
2 of 4 tasks
Tracked by #2494 ...
arvindh123 opened this issue May 3, 2024 · 2 comments · May be fixed by #2494
Closed
2 of 4 tasks
Tracked by #2494 ...

Feature: Use Postgres LTREE for groups hierarchy #2214

arvindh123 opened this issue May 3, 2024 · 2 comments · May be fixed by #2494
Assignees
Milestone

Comments

@arvindh123
Copy link
Contributor

arvindh123 commented May 3, 2024

Is your feature request related to a problem? Please describe.

Reference: https://github.com/absmach/magistrala/issues/1980

Describe the feature you are requesting, as well as the possible use case(s) for it.

Implmentation

  • Create Extension LTREE in postgres
  • Add a column with name path and type as LTREE
  • While inserting new row
    If the inserting new row have no parent . path column should have value of id
    If the inserting new row have parent, Get the path column should have parent path + .+ id
  • Retrieve Ancestors / Parents and Descendants / Children by using the below given in Add LTREE Path in Groups #1980

Indicate the importance of this feature to you.

Should-have

Anything else?

No response

@github-project-automation github-project-automation bot moved this to Backlog in SuperMQ May 3, 2024
@arvindh123 arvindh123 moved this from Backlog to Todo in SuperMQ May 3, 2024
@arvindh123 arvindh123 added this to the S4 milestone May 3, 2024
@arvindh123 arvindh123 moved this from Todo to In Progress in SuperMQ May 7, 2024
@dborovcanin dborovcanin changed the title Feature: Retrieve Parents and Children groups using Postgres LTREE. Feature: Use Postgres LTREE for groups hierarchy May 15, 2024
@dborovcanin dborovcanin modified the milestones: S4, S5 May 15, 2024
@WashingtonKK WashingtonKK moved this from In Progress to 🧪 Review and testing in progress in SuperMQ May 17, 2024
@arvindh123 arvindh123 moved this from 🧪 Review and testing in progress to In Progress in SuperMQ May 28, 2024
@WashingtonKK WashingtonKK moved this from In Progress to Todo in SuperMQ Jun 5, 2024
@WashingtonKK WashingtonKK moved this from Todo to In Progress in SuperMQ Jun 5, 2024
@dborovcanin dborovcanin modified the milestones: S5, 0.15.0 Jun 12, 2024
@arvindh123 arvindh123 moved this from 🚧 In Progress to 🩺 Review and testing in SuperMQ Jun 13, 2024
@JeffMboya JeffMboya moved this from 🩺 Review and testing to ⛏ Backlog in SuperMQ Jul 10, 2024
@JeffMboya JeffMboya moved this from ⛏ Backlog to 🚧 In Progress in SuperMQ Aug 21, 2024
@arvindh123 arvindh123 moved this from 🚧 In Progress to ⛏ Backlog in SuperMQ Aug 22, 2024
@JeffMboya JeffMboya moved this from ⛏ Backlog to 🚧 In Progress in SuperMQ Aug 26, 2024
@JeffMboya JeffMboya moved this from 🚧 In Progress to ⛏ Backlog in SuperMQ Aug 29, 2024
@dborovcanin
Copy link
Collaborator

This is in progress in https://github.com/absmach/magistrala/pull/2409.

@arvindh123 arvindh123 mentioned this issue Oct 8, 2024
3 tasks
@dborovcanin
Copy link
Collaborator

I am closing as a duplicate of #1980.

@github-project-automation github-project-automation bot moved this from 🚧 In Progress to ✅ Done in SuperMQ Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

4 participants