joshrosen-stripe commented on issue #26993: [SPARK-30338][SQL] Avoid unnecessary InternalRow copies in ParquetRowConverter URL: https://github.com/apache/spark/pull/26993#issuecomment-570426504 I ran a "read and hash all columns" benchmark on datasets with real-world schemas; these schemas contained ~50-300+ fields at various depths of nesting. The benchmark code looked roughly like ```scala val data = spark.read.parquet(args.list("input"): _*) data.select(hash($"*").as("hash")).groupBy().sum("hash").collect() ``` Comparing the map/scan stages' `Total Time Across All Tasks` metrics (from the Spark UI's "Stage Details" pages), it looks like this patch's changes result in ~6-25% time savings for this benchmark.
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
