Skip to content
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

c/driver/sqlite: Syntax error using keywords in ingestion #905

Closed
WillAyd opened this issue Jul 14, 2023 · 1 comment · Fixed by #906
Closed

c/driver/sqlite: Syntax error using keywords in ingestion #905

WillAyd opened this issue Jul 14, 2023 · 1 comment · Fixed by #906

Comments

@WillAyd
Copy link
Contributor

WillAyd commented Jul 14, 2023

Working through pandas integration the ADBC driver would commonly emit something like CREATE TABLE test (index, A, B, C, D) and the driver would return a syntax error. index is a reserved sqlite keyword and when removing that column there is no issue; think the driver should quote these values on table create

https://www.sqlite.org/lang_keywords.html

@lidavidm lidavidm changed the title sqlite Syntax error using Keyword c/driver/sqlite: Syntax error using keywords in ingestion Jul 14, 2023
@lidavidm
Copy link
Member

D'oh. Yeah, we should quote all names.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants