-
Notifications
You must be signed in to change notification settings - Fork 19
Closed
Description
- Error Description
After successfully configuring the LLM and database, when attempting to use CrackSQL'stranslate.py
to convert PostgreSQL statements, the program encountered an error during parsing of the PostgreSQL statement as shown below:
- Root Cause:
In the file./CrackSQL/backend/preprocessor/antlr_parser/pg_parser/PostgreSQLParser.py
, line 35398 theParseRoutineBody
function was undefined. The call of this function will certainly bring about error.
- Temporary Solution:
After commenting out this line, the program ran successfully without obvious bug.
I think the tiny change of the code will make the repo better. However, I'm not sure that whether this solution is robust and elegant. Thanks, and looking forward to your insights!
Metadata
Metadata
Assignees
Labels
No labels