Skip to content

Commit

Permalink
Enable FusionSQL for jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardoasmarques committed Nov 6, 2024
1 parent 9136a6c commit 5a4f70d
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions singlestoredb/fusion/handlers/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,6 @@ class ScheduleJobHandler(SQLHandler):
;
"""

_enabled = False

def run(self, params: Dict[str, Any]) -> Optional[FusionSQLResult]:
res = FusionSQLResult()
res.add_field('JobID', result.STRING)
Expand Down Expand Up @@ -224,8 +222,6 @@ class RunJobHandler(SQLHandler):
"""

_enabled = False

def run(self, params: Dict[str, Any]) -> Optional[FusionSQLResult]:
res = FusionSQLResult()
res.add_field('JobID', result.STRING)
Expand Down Expand Up @@ -288,8 +284,6 @@ class WaitOnJobsHandler(SQLHandler):
"""

_enabled = False

def run(self, params: Dict[str, Any]) -> Optional[FusionSQLResult]:
res = FusionSQLResult()
res.add_field('Success', result.BOOL)
Expand Down Expand Up @@ -359,8 +353,6 @@ class ShowJobsHandler(SQLHandler):
"""

_enabled = False

def run(self, params: Dict[str, Any]) -> Optional[FusionSQLResult]:
res = FusionSQLResult()
res.add_field('JobID', result.STRING)
Expand Down Expand Up @@ -492,8 +484,6 @@ class ShowJobExecutionsHandler(SQLHandler):
EXTENDED;
"""

_enabled = False

def run(self, params: Dict[str, Any]) -> Optional[FusionSQLResult]:
res = FusionSQLResult()
res.add_field('ExecutionID', result.STRING)
Expand Down Expand Up @@ -564,8 +554,6 @@ class ShowJobParametersHandler(SQLHandler):
SHOW JOB PARAMETERS FOR 'job1';
"""

_enabled = False

def run(self, params: Dict[str, Any]) -> Optional[FusionSQLResult]:
res = FusionSQLResult()
res.add_field('Name', result.STRING)
Expand Down Expand Up @@ -606,8 +594,6 @@ class ShowJobRuntimesHandler(SQLHandler):
SHOW JOB RUNTIMES;
"""

_enabled = False

def run(self, params: Dict[str, Any]) -> Optional[FusionSQLResult]:
res = FusionSQLResult()
res.add_field('Name', result.STRING)
Expand Down Expand Up @@ -653,8 +639,6 @@ class DropJobHandler(SQLHandler):
DROP JOBS 'job1', 'job2';
"""

_enabled = False

def run(self, params: Dict[str, Any]) -> Optional[FusionSQLResult]:
res = FusionSQLResult()
res.add_field('JobID', result.STRING)
Expand Down

0 comments on commit 5a4f70d

Please sign in to comment.