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

Add dryRun parameter for query API #593

Merged
merged 3 commits into from
Jun 5, 2024
Merged

Conversation

grieve54706
Copy link
Contributor

@grieve54706 grieve54706 commented Jun 4, 2024

Add dryRun parameter for query API and split ibis.py by data source.

Example:

POST /v2/ibis/postgres/query?dryRun=true

If successful, it will return HTTP status code 204. If it fails, it will return HTTP status code 422.

And split ibis.py by data source
@grieve54706 grieve54706 force-pushed the feature/ibis/dry-run branch from 64e6327 to 437a9ed Compare June 4, 2024 10:20
Copy link
Contributor

@goldmedal goldmedal left a comment

Choose a reason for hiding this comment

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

Thanks @grieve54706. Only one naming issue others LGTM.

from app.model.data_source import DataSource, ConnectionInfo


class Coordinator:
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
class Coordinator:
class Connector:

How about calling it Connector? It's not a distributed architecture. Coordinator might not be suitable.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure, nice name. Thanks.

@grieve54706 grieve54706 merged commit 2e08721 into main Jun 5, 2024
1 check passed
@grieve54706 grieve54706 deleted the feature/ibis/dry-run branch June 5, 2024 02:31
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.

2 participants