Open aso233 opened 1 month ago
I have tried to prompt the model like this:
The generated SQL statement must follow the MySQL syntax specification. Do not use method like: date_trunc、date_part、CURRENT_DATE
But it doesn't works.
I have tried to prompt the model like this:
The generated SQL statement must follow the MySQL syntax specification. Do not use method like: date_trunc、date_part、CURRENT_DATE
But it doesn't works. I encountered the same problem, have you solved it?
@aso233 we have been asking from 2023 but I think the guys are not focused on opensource anymore, see this link I am refering to
The generated SQL statement is not applicable to MySQL or ODPS if it contains statements with functions such as date_trunc, date_part, and CURRENT_DATE. These seem to be PostgreSQL functions.
Is there any way to generate SQL statements for a specific database type in the model?