Running athena sql query
select date_diff(\'day\' ,checkout_date::date, book_date::date) from users.
book_date and checkout_date are all timestam