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

Decouple query generator from execution #8

Open
darkain opened this issue May 30, 2019 · 1 comment
Open

Decouple query generator from execution #8

darkain opened this issue May 30, 2019 · 1 comment

Comments

@darkain
Copy link
Owner

darkain commented May 30, 2019

Decouple the PUDL query generator from the PUDL execution unit.

This task will not be done for quite some time, this is a post 3.0 task.

PDO, ODBC, and the various execution proxies can all support a wide variety of SQL servers. Having the query generator for a specific engine tied to a specific execution unit means that potential options for users are being locked out.

The main standard API and instantiation for MySQL, PostgreSQL, SQL Server, and SQLite will remain unchanged. Each of these execution units will default to their proper query generators.

pudlNull will accept any query generator for debug purposes.

PDO, ODBC, and Proxies will have an additional (required?) parameter to specify which generator they wish to use.

@darkain
Copy link
Owner Author

darkain commented Jul 31, 2021

Execution unit and connection manager should also be split, so any connection type can inherently support clustering and read/write splitting.

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

No branches or pull requests

1 participant