In Python, You can shuffle the rows and then take the top ones:
import org.apache.spark.sql.functions.rand
dataset.orderBy(rand()).limit(n)
In Python, You can shuffle the rows and then take the top ones:
import org.apache.spark.sql.functions.rand
dataset.orderBy(rand()).limit(n)
The requested URL was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.