You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (Jira)" <ji...@apache.org> on 2023/08/08 15:59:00 UTC

[jira] [Commented] (CALCITE-5909) SqlParserTest has a failed unit test, but the Calcite pipeline passed all of them

    [ https://issues.apache.org/jira/browse/CALCITE-5909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17752113#comment-17752113 ] 

Julian Hyde commented on CALCITE-5909:
--------------------------------------

I’ve seen this happen, too. I think the IDE may be getting a slightly different file due to caching.

> SqlParserTest has a failed unit test, but the Calcite pipeline passed all of them
> ---------------------------------------------------------------------------------
>
>                 Key: CALCITE-5909
>                 URL: https://issues.apache.org/jira/browse/CALCITE-5909
>             Project: Calcite
>          Issue Type: Bug
>          Components: tests
>            Reporter: LakeShen
>            Priority: Major
>             Fix For: 1.36.0
>
>         Attachments: image-2023-08-08-23-32-55-466.png
>
>
> When I run the SqlParserTest,the testNoUnintendedNewReservedKeywords method failed,the exception like this:
> {code:java}
> java.lang.AssertionError: The parser has at least one new reserved keyword. Are you sure it should be reserved? Difference: {code}
> The picture like this:
> !image-2023-08-08-23-32-55-466.png|width=709,height=228!
> I could fix this problem.More importantly, why is this method failing, but the Calcite pipeline is passing? I think we should look at something we missed



--
This message was sent by Atlassian Jira
(v8.20.10#820010)