[
https://issues.apache.org/jira/browse/FLINK-21968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Flink Jira Bot updated FLINK-21968:
-----------------------------------
Labels: auto-deprioritized-major stale-minor (was:
auto-deprioritized-major)
I am the [Flink Jira Bot|https://github.com/apache/flink-jira-bot/] and I help
the community manage its development. I see this issues has been marked as
Minor but is unassigned and neither itself nor its Sub-Tasks have been updated
for 180 days. I have gone ahead and marked it "stale-minor". If this ticket is
still Minor, please either assign yourself or give an update. Afterwards,
please remove the label or in 7 days the issue will be deprioritized.
> 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: Minor
> Labels: auto-deprioritized-major, stale-minor
>
> 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.20.1#820001)