INNER CODE UNIT · TypeScript

deleteBatch

apache/kyuubi · kyuubi-server/web-ui/src/api/batch/index.ts:48

export function deleteBatch(batchId: string) {
  return request({
    url: `api/v1/batches/${batchId}`,
    method: 'delete'
  }) as Promise<ICloseBatchResponse>
}

export function getBatchLocalLog(batchId: string, from = 0, size = 1000) {
  return request({
    url: `api/v1/batches/${batchId}/localLog`,
    method: 'get',
    params: {
      from,
      size
    }
  }) as Promise<IOperationLog>
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…