This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
Current_timestamp() doesn't work either. Actually it doesn't give an error, it just doesn't output any data to a Browse In-DB tool. The only way I can get it to work is by keying in the date manually in format YYYY-MM-DD
I think it was because the field in Hadoop was formatted as a date (without any time details). So the now() and unix_timestamp trials were too specific and running on the exact second the workflow was run. So it was good SQL but didn't spit out any results, but the to_date piece made it possible.