Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Currently existing multiline parser has limitations e.g.
line could not end with semicolon e.g. as a part of field value, comment or column name.
Also if a query contains '--' e.g. as a part of varchar field value then it fails.
In case there is no objections I would put some efforts to improve this behavior;
here it is a list of sample problem queries
select 123; -- comment select 1 as `1--`; select '--'; -- This query works if a user copy-pastes it to FlinkSQL, however it fails if a user types it in FlinkSQL select '1; ';
Attachments
Issue Links
- links to