sunchao commented on pull request #34308:
URL: https://github.com/apache/spark/pull/34308#issuecomment-961237911
Here it is @AngersZhuuuu @cloud-fan
```scala
test("XXX") {
val data = (0 to 10).flatMap(n => Seq.fill(10)(n)).map(i => (i,
i.toString))
withParquetFile(data) { path =>
val readSchema = StructType(Seq(StructField("_1", LongType)))
spark.read.schema(readSchema).parquet(path).first()
}
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]