code: def get_jid(jid):
      '''
      Return the information returned when the specified job id was executed
      '''
      query = '''SELECT minion_id, full_ret FROM {keyspace}.salt_returns
                 WHERE jid = ?;'''.format(keyspace=_get_keyspace())
  
      ret = {}
  
      # cassandra_cql.cql_query may raise a CommandExecutionError
      try:
          data = __salt__['cassandra_cql.cql_query_with_prepare'](query, 'get_jid', [jid])
          if data:
              for row in data:
                  minion = row.get('minion_id')
                  full_ret = row.get('full_ret')
                  if minion and full_ret:
                      ret[minion] = salt.utils.json.loads(full_ret)
      except CommandExecutionError:
          log.critical('Could not select job specific information.')
          raise
      except Exception as e:
          log.critical(
              'Unexpected error while getting job specific information: %s', e)
          raise
  
      return ref get_jid(jid):
      '''
      Return the information returned when the specified job id was executed
      '''
      query = '''SELECT minion_id, full_ret FROM {keyspace}.salt_returns
                 WHERE jid = ?;'''.format(keyspace=_get_keyspace())
  
      ret = {}
  
      # cassandra_cql.cql_query may raise a CommandExecutionError
      try:
          data = __salt__['cassandra_cql.cql_query_with_prepare'](query, 'get_jid', [jid])
          if data:
              for row in data:
                  minion = row.get('minion_id')
                  full_ret = row.get('full_ret')
                  if minion and full_ret:
                      ret[minion] = salt.utils.json.loads(full_ret)
      except CommandExecutionError:
          log.critical('Could not select job specific information.')
          raise
      except Exception as e:
          log.critical(
              'Unexpected error while getting job specific information: %s', e)
          raise
  
      return ret
docs: Return the information returned when the specified job id was executed