SteNicholas commented on issue #3822: SQLParseEngine parse mysql update sql fail URL: https://github.com/apache/incubator-shardingsphere/issues/3822#issuecomment-569899437 > > @caszhou You should modify the SQL like > > ``` > > System.out.println(engine.parse("UPDATE tenant_vehicle SET tenant_id=?,\nvin=?,\nsource=?,\ncreate_time=?,\nupdate_time=?,\nversion=? WHERE id=? AND version=?", true)); > > ``` > > > > > > or > > ``` > > System.out.println(engine.parse("UPDATE tenant_vehicle SET tenant_id=?,'\n'vin=?,'\n'source=?,'\n''\n''\n'create_time=?,'\n'update_time=?,'\n'version=? WHERE id=? AND version=?", true)); > > ``` > > The really reason for this error is the field `source`. `SOURCE` is unreserved word. This is the bug, but `\n\n\n` doesn't support.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services