Skip to content

Commit

Permalink
Update test_types.py
Browse files Browse the repository at this point in the history
  • Loading branch information
AngersZhuuuu committed May 27, 2024
1 parent 3523a0b commit cba05ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/pyspark/sql/tests/test_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ def __init__(self):
df = self.spark.createDataFrame(data)
self.assertEqual(list(df.schema)[0].dataType.simpleString(), "timestamp_ntz")
self.assertEqual(df.first()[0], datetime.datetime(1970, 1, 1, 0, 0))
self.assertEquoal(list(df.schema)[1].dataType.simpleString(), "timestamp_ntz")
self.assertEqual(list(df.schema)[1].dataType.simpleString(), "timestamp_ntz")
self.assertEqual(df.first()[1], Row(a=Row(a=datetime.datetime(1970, 1, 1, 0, 0))))

df = self.spark.createDataFrame(
Expand Down

0 comments on commit cba05ff

Please sign in to comment.