In HiveSql I have a yearmonth [yyyymm] column from which I need to subtract 3 months For example: if yearmonth is 201912 , the record required is 201909
Can someone please help me with the syntax or script I need to get for this ?
I have tried addmonths, conv(), and reg_extract But nothing works