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

import custom queries from DB #739

Open
arxdsilva opened this issue Nov 9, 2022 · 4 comments
Open

import custom queries from DB #739

arxdsilva opened this issue Nov 9, 2022 · 4 comments
Assignees
Labels
feature New fetures product/api-server REST API Server
Projects

Comments

@arxdsilva
Copy link
Member

Problem

When having multiple instances of prestd, it's now only possible to have custom queries from a folder, this way you'd have to share them and instantiate on every new container.

Desired behavior

Be able to create, load and manage scripts directly from the installed DB.

Possible solution

New flag with default to folder loading, if not creates a table named prestd_custom_queries that allows creating custom queries and loading them on app start directly from the DB.

@arxdsilva arxdsilva added the feature New fetures label Nov 9, 2022
@arxdsilva arxdsilva self-assigned this Nov 9, 2022
@arxdsilva arxdsilva added this to To do in API Server via automation Nov 9, 2022
@vmesel
Copy link
Member

vmesel commented Nov 9, 2022

This meets something I was talking with @avelino. We need a separate application database to handle auth and this custom queries.

I'm not a fan of having pREST and my own data on the same database.

@arxdsilva
Copy link
Member Author

arxdsilva commented Nov 10, 2022

This meets something I was talking with @avelino. We need a separate application database to handle auth and this custom queries.

I'm not a fan of having pREST and my own data on the same database.

Im certainly a +1 on this, but before we do it we've got to solve our multi DB management problem

@vmesel
Copy link
Member

vmesel commented Nov 10, 2022

@arxdsilva I agree with that! I was even thinking today of data lineage and data dictionary functionalities on the codebase, so we could let people source through the data as best as they can with all of the open info.

One thing that is a pain for my team is knowing where we can find certain data on a database. Yesterday I was trying to make a simple join with one ID and another, but I wasn't able to find which table had both so I could connect them.

Getting back to DB management, is there an issue open about that?

@arxdsilva
Copy link
Member Author

arxdsilva commented Nov 10, 2022

Getting back to DB management, is there an issue open about that?

@vmesel I think this should fit: #327

@avelino avelino added the product/api-server REST API Server label Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New fetures product/api-server REST API Server
Projects
API Server
  
To do
Development

No branches or pull requests

3 participants