Github user pooja-murarka commented on the issue:

    https://github.com/apache/spark/pull/23080
  
    I am testing **lineSep** with spark 2.4
    
    data.csv : "a",1   "c",2   "d",3
    val schema : StructType =
              StructType(
            Seq(
              StructField(name = "dteday", dataType = StringType),
              StructField(name = "hr", dataType = IntegerType)
        )
    _val logData = spark.read.format("csv").schema(schema).option("lineSep", 
"\t").load("data.csv")_
    But can only see schema without any data.
    scala>     logData.show()
    +------+----+
    |dteday|  hr|
    +------+----+
    |  null|null|
    +------+----+
    
    Can you please suggest if i missed something or above fix has not been 
merged with branch.


---

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

Reply via email to