MaxGekk opened a new pull request #25828: [SPARK-29141][SQL][TEST] Use 
SqlBasedBenchmark in SQL benchmarks
URL: https://github.com/apache/spark/pull/25828
 
 
   ### What changes were proposed in this pull request?
   
   Refactored SQL-related benchmark and made them depend on 
`SqlBasedBenchmark`. In particular, creation of Spark session are moved into 
`override def getSparkSession: SparkSession`.
   
   ### Why are the changes needed?
   
   This should simplify maintenance of SQL-based benchmarks by reducing the 
number of dependencies. In the future, it should be easier to refactor & extend 
all SQL benchmarks by changing only one trait. Finally, all SQL-based 
benchmarks will look uniformly. 
   
   ### Does this PR introduce any user-facing change?
   No
   
   ### How was this patch tested?
   
   By running the modified benchmarks.
   

----------------------------------------------------------------
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]

Reply via email to