I'm trying to add a column to a table (ideally without using a dataframe) with a default value of 'MONTHLY'
ALTER TABLE aa_monthly ADD COLUMNS (Monthly_or_Weekly_Indicator string NOT NULL FIRST DEFAULT ('MONTHLY'))
This gives me an error of:
Error in SQL statement: ParseException: mismatched input 'DEFAULT' expecting ')'(line 1, pos 88)
I get the same error regardless of whether or not I have FIRST
in the sql statement.