Skip to main content
InterviewHubPRO
Section Overview
Q29

Question 29 of 50

Part 3: Advanced Internals, Scale & Production Patterns (Senior / Lead)

58%
Apache Spark Big Data (50 Qs)•Part 3: Advanced Internals, Scale & Production Patterns (Senior / Lead)

What is Predicate Pushdown and how does it save petabytes of data scan?

senior Levelapache-sparkAdvanced Internals

In Simple Words: Predicate pushdown moves filter conditions (WHERE country = 'US') down to the physical storage connector (Parquet, ORC, JDBC, Snowflake):

  • The Parquet reader inspects column metadata statistics in file footers without decompressing or parsing rows.
  • If a Parquet row group's max_country < 'US', the entire multi-megabyte block is completely skipped!