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

Mihai Budiu commented on CALCITE-5921:
--------------------------------------

I apologize for the complications. One solution in such a case is to just 
revert the commit and ask me to rebase it on the latest main.

Thank you so much for fixing them. In am in the Pacific Time zone, so most of 
this happened during the night for me.

I will review the modified PR which was merged. If there are any corrections 
needed I will add them in my PR for CALCITE-5990 which is paired with this one.

> SqlOperatorFixture.checkFails and checkAggFails don't check runtime failure
> ---------------------------------------------------------------------------
>
>                 Key: CALCITE-5921
>                 URL: https://issues.apache.org/jira/browse/CALCITE-5921
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.35.0
>            Reporter: Runkang He
>            Assignee: Runkang He
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.36.0
>
>
> SqlOperatorFixture.checkFails and checkAggFails don't check runtime failure. 
> See more in [code 
> line|https://github.com/apache/calcite/blob/50c3edfc3d6630528ab51fe836bd50df82cc7db8/testkit/src/main/java/org/apache/calcite/test/SqlOperatorFixtureImpl.java#L160].
>  When the parameter `runtime` of SqlOperatorFixture.checkFails is true, it 
> should execute the query and check runtime failure, but currently it ignores 
> this, and only checks the parse and validation failure.
> When fix this, there are 4 failed test cases in CalciteSqlOperatorTest.
> At last, this issue was found when to implement `BIT_GET` function in 
> CALCITE-5848.



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

Reply via email to