AtScale Impala SQL to Pull Rolling 12 Months Data.
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
tnkii
5 - Atom
‎12-27-2023
04:04 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi,
I'm trying to get my Impala SQL to work but it does not. Data is currently sitting in AtScale server and using Cloudera Impala driver to connect and pull data.
I have my SQL statement as
Select *
From data_table
Where data_table.period_end_date >= date_add(month,datediff(month,0,getdate())-12,0)
but SQL editor in Alteryx returns an error saying it doesn't recognize the GETDATE function, which is odd. I then changed to CURRENT_TIMESTAMP() and it also is giving me an error saying there it's expecting one of "and"... "collate".... "except"...
Does anyone know what the issue is?
Thank you.
0 REPLIES 0
