message: Add test case when no column name is specified and with compression for make_csv_dataset
diff: @@ -221,6 +221,38 @@ class MakeCsvDatasetTest(test_base.DatasetTestBase):
  compression_type=compression_type,
  )
  + def testMakeCSVDataset_withCompressionTypeAndNoColumnNames(self):
  + """Tests `compression_type` argument."""
  + record_defaults = [
  + constant_op.constant([], dtypes.int32),
  + constant_op.constant([], dtypes.int64),
  + constant_op.constant([], dtypes.float32),
  + constant_op.constant([], dtypes.float64),
  + constant_op.constant([], dtypes.string)
  + ]
  +
  + column_names = ["col%d" % i for i in range(5)]
  + inputs = [[",".join(x for x in column_names), "0,1,2,3,4", "5,6,7,8,9"], [
  + ",".join(x for x in column_names), "10,11,12,13,14", "15,16,17,18,19"
  + ]]
  + expected_output = [[0, 1, 2, 3, b"4"], [5, 6, 7, 8, b"9"],
  + [10, 11, 12, 13, b"14"], [15, 16, 17, 18, b"19"]]
  + label = "col0"
  +
  + for compression_type in ["GZIP"]:
  + self._test_dataset(
  + inputs,
  + expected_output=expected_output,
  + expected_keys=column_names,
  + label_name=label,
  + batch_size=1,
  + num_epochs=1,
  + shuffle=False,
  + header=True,
  + column_defaults=record_defaults,
  + compression_type=compression_type,
  + )
  +
  def testMakeCSVDataset_withBadInputs(self):
  """Tests that exception is raised when input is malformed.
  """
  