-
Notifications
You must be signed in to change notification settings - Fork 104
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
MySql Sink, Unquoted field names. #1863
Comments
pmo-sdr
changed the title
MySqul Sink, Unquoted field names.
MySql Sink, Unquoted field names.
Apr 30, 2020
dmartinezgomez
added a commit
to Stdri/fiware-cygnus
that referenced
this issue
Apr 30, 2020
pmo-sdr
added a commit
to Stdri/fiware-cygnus
that referenced
this issue
May 4, 2020
What is the expected sentence?
|
Actual sentence: insert into `traffic_TrafficFlow`
(recvTime,fiwareServicePath,entityId,entityType, load,load_md)
... Expeted after fix: insert into `traffic_TrafficFlow`
(`recvTime`,`fiwareServicePath`,`entityId`,`entityType`, `load`,`load_md`)
... |
Once the PR with the fix has been merged, we understand this issue can be closed. Of course if we are wrong, please tell about it so we can reopen. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Mysql sink sends insert statements not quoting field names, this results on Sql errors when field name is equal to some reserved word.
IE:
When you try to create a field named "load":
Sql statement should be properly quoted to avoid this kind of errors.
The text was updated successfully, but these errors were encountered: