10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
It seems that SQL keywords are not accepted as named parameters.
import duckdb conn = duckdb.connect(":memory:") conn.execute("SELECT $val", {"val": 42}).fetchone() # (42,) conn.execute("SELECT $value", {"value": 42}).fetchone() # ParserException: Parser Error: syntax error at or near "value"
Linux
0.8.1-dev23
Python
Fabien Coelho
Mines Paris
master
The text was updated successfully, but these errors were encountered:
And others, e.g. content which is not an SQL keyword AFAICR. Failing include: left, select, table, join…
content
left
select
table
join
Sorry, something went wrong.
Fix duckdb#7602 - allow keywords as named parameters without quotes
845d395
Thanks for the report! I have pushed a fix in #7604
Merge pull request #7604 from Mytherin/issue7602
7256503
Fix #7602 - allow reserved keywords in named parameters
Mytherin
Successfully merging a pull request may close this issue.
What happens?
It seems that SQL keywords are not accepted as named parameters.
To Reproduce
OS:
Linux
DuckDB Version:
0.8.1-dev23
DuckDB Client:
Python
Full Name:
Fabien Coelho
Affiliation:
Mines Paris
Have you tried this on the latest
master
branch?Have you tried the steps to reproduce? Do they include all relevant data and configuration? Does the issue you report still appear there?
The text was updated successfully, but these errors were encountered: