code: func (e *ShowDDLJobQueriesExec) Next(ctx context.Context, req *chunk.RecordBatch) error {
  	req.GrowAndReset(e.maxChunkSize)
  	if e.cursor >= len(e.jobs) {
  		return nil
  	}
  	if len(e.jobIDs) >= len(e.jobs) {
  		return nil
  	}
  	numCurBatch := mathutil.Min(req.Capacity(), len(e.jobs)-e.cursor)
  	for _, id := range e.jobIDs {
  		for i := e.cursor; i < e.cursor+numCurBatch; i++ {
  			if id == e.jobs[i].ID {
  				req.AppendString(0, e.jobs[i].Query)
  			}
  		}
  	}
  	e.cursor += numCurBatch
  	return nil
  }
docs: // Next implements the Executor Next interface.