I run into trouble when I convert unix epoch timestamp to normal datetime in Azure Data Warehouse:
select
dateadd(s, convert(bigint, 2551564800), convert(datetime, '1-1-1970 00:00:00')) as bigint
Error:
Arithmetic overflow error converting expression to data type int.
The value 2551564800 is equal to 09/11/2050.
Any help will be appreciated