[
https://issues.apache.org/jira/browse/FLINK-21968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jark Wu updated FLINK-21968:
----------------------------
Component/s: (was: Table SQL / Planner)
Table SQL / API
> Calcite parser doesn't support to parse "-- test"
> -------------------------------------------------
>
> Key: FLINK-21968
> URL: https://issues.apache.org/jira/browse/FLINK-21968
> Project: Flink
> Issue Type: Bug
> Components: Table SQL / API
> Affects Versions: 1.13.0
> Reporter: Shengkai Fang
> Priority: Major
>
> Please add a test in the {{FlinkSqlParserImplTest.java}}.
> {code:java}
> @Test
> public void testParseComment() {
> sql("-- test").ok("-- test");
> }
> {code}
> I think we can fix this by using {{ExtendedParseStrategy}} to clear the
> string that matches "--.*$";
> {{ExtendedParseStrategy}} is introduced in the FLINK-21836
--
This message was sent by Atlassian Jira
(v8.3.4#803005)