hardStudy question · answer published in Apache Spark interview questions, so no pointssparkpythonperformance
A slow Python UDF in PySpark
A PySpark job applies a row-by-row Python UDF to clean phone numbers and is 10 times slower than the rest of the pipeline. What is the best first fix?
Discussion 0
Join free to post in the discussion.
Related questions
- Partitioning a big tableData Engineer
- When Spark actually runsData Engineer
- What a Spark partition isData Engineer
- A CSV bigger than memoryData Engineer
- Turning on producer compressionData Engineer
- What the Spark driver doesData Engineer
- Calling collect() on 500 GBData Engineer
- Why DataFrames beat RDDs of objectsData Engineer