Skip to content
RED SAGSkills
hard20 pts · first answer countsml-pipelinessparkreproducibility

Sample changes on every run

A training sample is built with this Spark code. Two runs on the same data give different rows. Why?

sample = (spark.read.parquet("s3://data/events/")
          .filter("country = 'IN'")
          .limit(100000))
Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions