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

Mihai Budiu commented on CALCITE-7742:
--------------------------------------

Personally I don't expect performance to be a big issue, but if there is some 
measurement to back this intuition, even better. But first, you need an 
implementation to measure. If the measurement looks good, we probably don't 
need to include it as a permanent test.

> Test framework has non-determinstic tests
> -----------------------------------------
>
>                 Key: CALCITE-7742
>                 URL: https://issues.apache.org/jira/browse/CALCITE-7742
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.42.0
>            Reporter: Mihai Budiu
>            Priority: Minor
>
> Some tests intermittently fail in CI, here's an example output:
> {code:java}
> FAILURE   0.1sec, 
> org.apache.calcite.rel.rel2sql.RelToSqlConverterRoundTripTest > 
> testCastToChar()
>     java.lang.AssertionError:
>     Expected: is "SELECT CAST(`product_id` AS CHAR)\nFROM 
> `foodmart`.`product`"
>          but: was "SELECT CAST(`product_id` AS CHAR(1))\nFROM 
> `foodmart`.`product`" {code}
> Seemingly this is because there is some shared state between concurrent 
> tests, e.g., perhaps a custom type system installed?



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

Reply via email to