Extending Our Spark SQL Query Engine (medium.com)