I am trying to something like this but getting error like :
Error in SQL statement: AnalysisException: Undefined function: 'DATEADD'. This function is neither a registered temporary function nor a permanent function registered in the database 'default'.
DATEADD(HOUR,IFNULL(Hours_Adjusted,0),Date_Created) AS Date_Created_Local
I also tried, something like below but it seems interval doesn't support expression :
Date_Created+ INTERVAL Hours_Adjusted hours AS Date_Created_Local
Please help me !!