1. Spark SQL Aggregate Rewrite Rule. https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/execution/aggregate/AggUtils.scala. Spark SQL Aggregate Rewrite Rule. https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/execution/aggregate/AggUtils.scala.
2. Spark SQL Expand Operator. https://github.com/apache/spark/blob/master/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/basicLogicalOperators.scala. Spark SQL Expand Operator. https://github.com/apache/spark/blob/master/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/basicLogicalOperators.scala.
3. Spark SQL HashAggregate Operator. https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/execution/aggregate/HashAggregateExec.scala. Spark SQL HashAggregate Operator. https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/execution/aggregate/HashAggregateExec.scala.
4. Spark SQL Set Operators. https://spark.apache.org/docs/latest/sql-ref-syntax-qry-select-setops.html. Spark SQL Set Operators. https://spark.apache.org/docs/latest/sql-ref-syntax-qry-select-setops.html.
5. Apache Spark the Fastest Open Source Engine for Sorting a Petabyte . https://databricks.com/blog/2014/10/10/spark-petabyte-sort.html , 2014 . Apache Spark the Fastest Open Source Engine for Sorting a Petabyte. https://databricks.com/blog/2014/10/10/spark-petabyte-sort.html, 2014.