Skip to content

Commit

Permalink
Fix test and formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jovanm-db committed Oct 17, 2024
1 parent 3122ac6 commit a2a1e8c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/pyspark/sql/tests/test_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,11 +335,11 @@ def test_rand_functions(self):

def test_try_parse_url(self):
df = self.spark.createDataFrame(
[("https://spark.apache.org/path?query=1", "QUERY", "query")],
["url", "part", "key"],
[("https://spark.apache.org/path?query=1", "QUERY", "query")],
["url", "part", "key"],
)
actual = df.select(F.try_parse_url(df.url, df.part, df.key)).collect()
self.assertEqual(actual, [Row(1)])
self.assertEqual(actual, [Row("1")])

def test_string_functions(self):
string_functions = [
Expand Down

0 comments on commit a2a1e8c

Please sign in to comment.