Follow up Question:
So my dataframe has only one column that gives me an error message Like
"[ALL_PARTITION_COLUMNS_NOT_ALLOWED] Cannot use all columns for partition columns. SQLSTATE: KD005"
Is there any way to resolve this?