-
Notifications
You must be signed in to change notification settings - Fork 253
feat: Implement SQL Runner Job #2461
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
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
❌ Your patch check has failed because the patch coverage (17.87%) is below the target coverage (75.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## master #2461 +/- ##
==========================================
- Coverage 36.90% 36.73% -0.17%
==========================================
Files 403 405 +2
Lines 32073 32335 +262
==========================================
+ Hits 11835 11877 +42
- Misses 20238 20458 +220 ☔ View full report in Codecov by Sentry. |
Context:
For building database related feature like SQL Playground or DB Analzyer, usually we keep adding new functions and api endpoints for that.
But for any fix or quicker iteration of these tools, we need to do modification on agent side and deploy those. So, planned to design a simple api interface to run short term or long lived SQL queries with some flexibility.
So, it will be just a abstraction and a wrapper around Agent and Agent Job to simplify the things.
Tasks:
SHOW TABLES
,SHOW DATABASES
)process_job_updates
ofAgent Job
)expiry
fields to remove the records automatically.Utility Function:
Doctype Preview:
Data
Error Details
Profile
Agent : frappe/agent#163