Github user BryanCutler commented on a diff in the pull request: https://github.com/apache/spark/pull/19459#discussion_r143606693 --- Diff: python/pyspark/sql/tests.py --- @@ -3147,6 +3150,14 @@ def test_filtered_frame(self): self.assertEqual(pdf.columns[0], "i") self.assertTrue(pdf.empty) + def test_createDataFrame_toggle(self): + pdf = self.createPandasDataFrameFromeData() + self.spark.conf.set("spark.sql.execution.arrow.enable", "false") + df_no_arrow = self.spark.createDataFrame(pdf) + self.spark.conf.set("spark.sql.execution.arrow.enable", "true") --- End diff -- Hmmm, I thought the `tearDownClass` was there but it's actually in #18664. Maybe I should put it in here since that needs some more discussion.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org