Github user viirya commented on the issue:
https://github.com/apache/spark/pull/14388
@mallman I ran a simple test, but can't reproduce the issue. The following
benchmark codes do select an array column and add an `order by` clause on it.
Can you give me an example code to reproduce it? Thanks.
val N = 10000
withParquetTable((0 until N).map { i =>
((i to i + 1000).toList, (i to i + 100).map(_.toString).toList,
(i to i + 1000).map(_.toDouble / 2).toList,
((0 to 10).map(_.toString).toList, (0 to
10).map(_.toString).toList))
}, "t") {
val benchmark = new Benchmark("Vectorization Parquet for nested
types", N)
benchmark.addCase("Vectorization Parquet reader", 10) { iter =>
sql("SELECT _1 FROM t ORDER BY _1").collect()
}
benchmark.run()
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]