Matthew Powers·Feb 22, 2022Speed up a pandas query 10x with these 6 Dask DataFrame tricksThis post demonstrates how to speed up a pandas query to run 10 times faster with Dask using six performance optimizations. You’ll often…
Matthew Powers·Jul 4, 2019Creating a Java Spark project with Maven and junitThis blog post shows how to organize a Spark Java project, write some application code and run a simple test.A response icon2A response icon2
Matthew Powers·Jun 25, 2019Dependency Injection with SparkDependency injection is a great design pattern to write code that’s more flexible and easier to test.
Matthew Powers·Apr 3, 2018Speaking Slack Notifications from SparkThe spark-slack library can be used to speak notifications to Slack from your Spark programs and handle Slack Slash command responses.A response icon4A response icon4
Matthew Powers·Feb 18, 2018Documenting Spark Code with ScaladocYou can use Scaladoc to generate nicely formatted documentation for your Spark projects, just like the official Spark documentation.A response icon2A response icon2
Matthew Powers·Jan 21, 2018The different type of Spark functions (custom transformations, column functions, UDFs)Spark code can be organized in custom transformations, column functions, or user defined functions (UDFs).A response icon7A response icon7
Matthew Powers·Jan 16, 2018Adding StructType columns to Spark DataFramesStructType objects define the schema of Spark DataFrames. StructType objects contain a list of StructField objects that define the name…A response icon6A response icon6
Matthew Powers·Jan 15, 2018Adding ArrayType columns to Spark DataFrames with concat_ws and splitThe concat_ws and split Spark SQL functions can be used to add ArrayType columns to DataFrames.
Matthew Powers·Jan 5, 2018How to write Spark ETL ProcessesSpark is a powerful tool for extracting data, running transformations, and loading the results in a data store.A response icon11A response icon11
Matthew Powers·Dec 27, 2017Spark User Defined Functions (UDFs)Spark let’s you define custom SQL functions called user defined functions (UDFs). UDFs are great when built-in SQL functions aren’t…A response icon8A response icon8