Skip to content
RED SAG Skills
mediumStudy question · answer published in Apache Spark interview questions, so no pointssparkspark-sqlpredicate-pushdown

A UDF in the WHERE clause

A filter on a Parquet table uses a Python UDF: df.filter(is_gulf(col("country"))). Compared with col("country").isin("AE", "SA"), what is lost?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions