QuestionQ70
VerifiedUsing Spark SQLA data engineer has a PySpark DataFrame called sales_data that contains millions of rows. They must calculate the total sales amount by region using Spark SQL to improve readability and maintainability.
Which steps should the data engineer take to accomplish this?
Community Discussion