You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When executing certain queries involving nested answer calls within the WHERE clause, the system exceeds the maximum recursion depth.
Query Example
SELECTcourses.title, courses.course_codes, offerings.days, offerings.start_time, offerings.end_time, offerings.seasonFROM courses
JOIN offerings ONcourses.course_id=offerings.course_idWHEREofferings.season='spring'AND (
answer(description, 'does this course provide a solid mathematical foundation for research in Natural Language Processing?') ='Yes'OR answer(description, 'does this course focus on Language Modelling?') ='Yes'
);
Error Message
The system throws a "maximum recursion depth exceeded" error as detailed below:
maximum recursion depth exceeded
Traceback (most recent call last):
File "/home/larsen/course-companion/sql_free_text_support/execute_free_text_sql.py", line 1086, in suql_execute_single
visitor(root)
...
File "/usr/lib/python3.8/copy.py", line 270, in _reconstruct
state = deepcopy(state, memo)
...
File "/usr/lib/python3.8/copy.py", line 230, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
...
RecursionError: maximum recursion depth exceeded while calling a Python object
The text was updated successfully, but these errors were encountered:
Description
When executing certain queries involving nested answer calls within the WHERE clause, the system exceeds the maximum recursion depth.
Query Example
Error Message
The system throws a "maximum recursion depth exceeded" error as detailed below:
The text was updated successfully, but these errors were encountered: