jdbc - sql cannot operate correctly in Redshift -
I want to run as SQL:
as the temporary table select Select * redshift_table from where date & gt; # {Date}; I can run this SQL in the command line in redshift, but if I run it in my program, it does not work correctly. When I do create a temporary table , the create table works correctly. I am using mybatis as a mapper and driver:
- org.postgresql.Driver
- org.postgresql: postgresql: 9.3 -1102-jdbc41
What's wrong?
I assume that #date is a real date in your actual query.
After saying this, there is no reason because this order does not work, according to the syntax listed here,
Have you tried posting it on the ADS Redshift Forum, Generally they are quite liable. If you find anything, please update this thread, this is a very interesting issue, thanks!
Comments
Post a Comment