Clue: Having fun at celebration, saying goodbye hugging unknown character (8)
Answer: PARTYING
Explanation: Definition: Having fun at celebration
 PARTING(goodbye/act of leaving) **containing**(hugging) Y(symbol/character for an unknown quantity in maths.).