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

RMLTC0015a-MySQL: SQL error on quoted column names #42

Open
thomas-delva opened this issue Apr 12, 2021 · 0 comments
Open

RMLTC0015a-MySQL: SQL error on quoted column names #42

thomas-delva opened this issue Apr 12, 2021 · 0 comments

Comments

@thomas-delva
Copy link

The source query uses double quotes around column names, e.g., WHERE "Lan" = 'ES'. I don't think this is correct syntax in the MySQL dialect, you should use backticks (`) instead. The mapper throws a SQL exception on this mapping.

Anyway, since the columns contain only safe characters, I propose to not use quotes at all, and go for e.g., WHERE Lan = 'ES';. This seems to work locally.

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

No branches or pull requests

1 participant