Open baskaryan opened 4 weeks ago
Hello @baskaryan! I'm investigating this error now. I'll add a comment when I have some clarity on some possible causes. Do you have any idea why this error may be thrown? (Just to know if you have an idea how to approach the fix)
It appears that this bug and the commit to fix it caused this code to error out (since it seems to be working fine with sqlalchemy v2.0.35). It seems that the REGCLASS typecasting done is not a type supported by duckdb and causes this error. I will be looking for workaround for this but if you have any suggestions on how to fix the issue, do let me know!
Edit: There was an issue brought up in the sqlalchemy repo: https://github.com/sqlalchemy/sqlalchemy/discussions/12011
Update: Got a PR going with the fixes to this issue. Once it's been approved and merged, this issue should be resolved. The PR - Mause/duckdb_engine#1147
Hello! We were able to merge our PR in the duckdb_engine repo (https://github.com/Mause/duckdb_engine/pull/1147). Once our updates are released, this issue should be fixed!
Privileged issue
Issue Content
If you poetry lock langchain-community so that the current latest sqlalchemy version is installed you get failing unit tests: https://github.com/langchain-ai/langchain/actions/runs/11508741758/job/32037584608