QuestionQ270
VerifiedTroubleshooting and Tuning Apache Spark DataFrame API Applications.A developer must write the output from a complex sequence of Spark transformations to a Parquet table named events.live_latest. Consumers of this Parquet table mainly access it through a Spark SQL query with a WHERE clause that filters on both the year and month of the event_ts column. The event_ts column has the TIMESTAMP type.

Which modification will allow downstream consumers to efficiently query the table by both the year and month in the event_ts column?
Community Discussion