Skip to content

Commit

Permalink
TEST
Browse files Browse the repository at this point in the history
  • Loading branch information
changgyoopark-db committed Jan 22, 2025
1 parent 646295b commit fa2abbc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions python/pyspark/sql/tests/test_dataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,7 @@ def test_extended_hint_types(self):
with io.StringIO() as buf, redirect_stdout(buf):
hinted_df.explain(True)
explain_output = buf.getvalue()
self.assertEqual(str(explain_output), "hi")
self.assertGreaterEqual(explain_output.count("1.2345"), 1)
self.assertGreaterEqual(explain_output.count("what"), 1)
self.assertGreaterEqual(explain_output.count("itworks"), 1)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,8 @@ case class SessionHolder(userId: String, sessionId: String, session: SparkSessio
plan
} else {
// Make sure that the plan is fully analyzed before being cached.
qe.analyzed
// qe.analyzed
plan
}
}
cache.put(rel, analyzedPlan)
Expand Down

0 comments on commit fa2abbc

Please sign in to comment.