Github user mortada commented on the issue: https://github.com/apache/spark/pull/15053 @HyukjinKwon do you know how I could run the doctests for these files? I found this online: https://cwiki.apache.org/confluence/display/SPARK/PySpark+Internals which says that I could do ``` SPARK_TESTING=1 ./bin/pyspark python/pyspark/my_file.py. ``` but that doesn't actually work ``` $ SPARK_TESTING=1 ./bin/pyspark python/pyspark/sql/dataframe.py python: Error while finding spec for 'python/pyspark/sql/dataframe.py' (ImportError: No module named 'python/pyspark/sql/dataframe') ``` in terms of the extra time to create these small DataFrames, I think we'd probably be looking at something reasonably negligible (a few seconds tops) ``` In [2]: %timeit df = spark.createDataFrame([('Alice', 2), ('Bob', 5)], ['name', 'age']) 100 loops, best of 3: 10.3 ms per loop ``` i.e. this should be on the order of 1 second even with creating `df` 100 times.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org