[
https://issues.apache.org/jira/browse/CALCITE-7742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18111739#comment-18111739
]
Diveyam Mishra commented on CALCITE-7742:
-----------------------------------------
Let me know if u want me to implement the Per-RelDataType System
||Cache Strategy||Total Time (10k queries)||Per-Query Latency||Memory Delta||
|*1. Global Static Cache (Baseline)*|65 ms|6 µs|+10.4 MB|
|*2. Per-Factory Cache* |185 ms|18 µs|+18.0 MB|
|*3. Per-{{{}RelDataTypeSystem{}}} Meta-Cache*|*53 ms*|*5µs*|*+25.0 MB*|
Also, slightly separate from this issue: if you have any small ~45-day project
in mind where I could contribute in a project-style capacity, I’d be interested
in working on it purely for the experience
> 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)