You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exactly. self.assertEqual(expected_cols, cols) should compare the length of expected_data.columns with the length of data_transformed.columns. But current code compares length of expected_data.columns with itself, according to line 53, 64 and 73.
line 53 expected_cols = len(expected_data.columns)
line 64 cols = len(expected_data.columns)
line 73 self.assertEqual(expected_cols, cols)
Seems 3 typos in total. rows and avg_steps also need to be updated. Replace variable expected_data as data_transformed in line 64, 65 and 67, as following
pyspark-example-project/tests/test_etl_job.py
Line 64 in 13d6fb2
You should use
data_transformed
notexpected_data
for actual transformation output.The text was updated successfully, but these errors were encountered: