we are trying to implement below logic in streaming dataframe but while using pivot , it is giving below error
Logic:- Generate n columns in dataframe based on mu