Github user HyukjinKwon commented on a diff in the pull request:

    https://github.com/apache/spark/pull/20894#discussion_r189066253
  
    --- Diff: python/pyspark/sql/tests.py ---
    @@ -3040,6 +3040,22 @@ def test_csv_sampling_ratio(self):
                 .csv(rdd, samplingRatio=0.5).schema
             self.assertEquals(schema, StructType([StructField("_c0", 
IntegerType(), True)]))
     
    +    def test_checking_csv_header(self):
    +        tmpPath = tempfile.mkdtemp()
    --- End diff --
    
    tmpPath -> `tmp_path` or `path`


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to