-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sqlalchemy.exc.DataError: Unknown name: $series_id_m0" #57
Comments
Missing Declare Section in YqlDialect SQL StatementThe SQL statement produced by the I have noticed that the parameter
References:
|
I'm getting a similar error. I just do a migration using sqlalchemy.exc.DataError: (ydb_dbapi.errors.DataError) position { row: 1 column: 71 } message: "Unknown name: $id" end_position { row: 1 column: 71 } severity: 1 (server_code: 400080)
[SQL: INSERT INTO alembic_version (version_num, id) VALUES ('3428ff075094', %(id)s)] [parameters: {'id': None}]
(Background on this error at: https://sqlalche.me/e/20/9h9h) I changed ydb-sqlalchemy/ydb_sqlalchemy/sqlalchemy/__init__.py Lines 192 to 194 in 2eacadb
|
Issue Description
I tried running
example.py
:However, I encountered the following error:
Environment
Installed Packages:
It seems there is an issue with the SQL query, especially regarding the variable
series_id_m0
. The error reports an "Unknown name" for this placeholder. Could you please help in resolving this issue?Thank you!
The text was updated successfully, but these errors were encountered: