def METHOD_NAME(
    eval_config: config_pb2.EvalConfig) -> extractor.Extractor:
  """Creates an extractor for sql slice keys.
  This extractor extracts slices keys in a batch based on the SQL statement in
  the eval config.
  Args:
    eval_config: EvalConfig containing slicing_specs specifying the slices to
      slice the data into.
  Returns:
    Extractor for extracting slice keys in batch.
  """
  # pylint: disable=no-value-for-parameter
  return extractor.Extractor(
      stage_name=_SQL_SLICE_KEY_EXTRACTOR_STAGE_NAME,
      ptransform=_ExtractSqlSliceKey(eval_config))