Error on Redshift Delete
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2021 12:08 PM
Hello,
Can anybody help me with the following error? I think is the conversion of the snapshot_date field.
The snapshot_date field is of data type date with no time.
Labels:
- Labels:
-
General Information
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2021 02:21 PM
Hi Marilitza:
Your date expression is valid (ex: 2021-05-24), but isn’t evaluated in this form. If you click the Equals button, and then build the expression with string concatenation may do the trick. For example,
"snapshot_date = '" + Date.now().toString().substring(0,10) + "'"
Reply
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2021 10:51 AM
Thanks for the feedback. I will try that.
