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

Thomas Rebele commented on CALCITE-5909:
----------------------------------------

A possible explanation why it fails in the IDE, but not from the command line: 
on or more tests X change some data or does not clean up after its execution. 
With a randomized test order the tests X may be executed before or after 
testNoUnintendedNewReservedKeywords, leading to a failure in the former case. 
Finding which tests belong to X can help finding the cause.

> Sometimes SqlParserTest.testNoUnintendedNewReservedKeywords fails in the IDE 
> but passes when run from the command line
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: CALCITE-5909
>                 URL: https://issues.apache.org/jira/browse/CALCITE-5909
>             Project: Calcite
>          Issue Type: Bug
>          Components: tests
>            Reporter: LakeShen
>            Priority: Minor
>         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=1543,height=496!
> 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)

Reply via email to