def METHOD_NAME(request):
  response = {'status': -1}
  cluster = json.loads(request.POST.get('cluster', '{}'))
  fix = json.loads(request.POST.get('fix'))
  start_time = json.loads(request.POST.get('start_time'), '-1')
  if fix['id'] == 0:
    notebook = make_notebook(
      name=_('compute stats %(data)s') % fix,
      editor_type='impala',
      statement='compute stats %(data)s' % fix,
      status='ready',
      last_executed=start_time,
      is_task=True,
      compute=cluster
    )
    response['details'] = { 'task': notebook.execute(request, batch=True) }
    response['status'] = 0
  return JsonResponse(response)