Skip to content

Commit

Permalink
Fix broken test fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
alistair-jones authored Nov 16, 2022
1 parent 94d8ea0 commit 4bd2f4d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def long_format_df_fixture():
*[["table1", "field4", f"patient{k}", "DEMOGRAPHIC_DATE", None, datetime(2022, 1, 1) + timedelta(days=random.randint(1, 100))] for k in range(21, 24) for _ in range(50)],
],
]
schema = f"TABLE_NAME: string, FIELD_NAME: string, {HES_PATIENT_KEY}: string, VALUE_TYPE: string, VALUE_DATE: date"
schema = f"TABLE_NAME: string, FIELD_NAME: string, {HES_PATIENT_KEY}: string, VALUE_TYPE: string, VALUE_STRING: string, VALUE_DATE: date"
frequency_long_df = spark.createDataFrame(frequency_field_data, schema)

# Format dates as strings
Expand Down

0 comments on commit 4bd2f4d

Please sign in to comment.