[jira] [Created] (CALCITE-6426) When performing starrocks dialect conversion for cast (xxx as int) and cast (xxx as bigint), it defaults to using MySQL dialect

2024-06-03 Thread fanluo (Jira)
fanluo created CALCITE-6426: --- Summary: When performing starrocks dialect conversion for cast (xxx as int) and cast (xxx as bigint), it defaults to using MySQL dialect Key: CALCITE-6426 URL: https://issues.apache.org/jir

[jira] [Created] (CALCITE-6427) Use a higher precision for DECIMAL intermediate results for some aggregate functions like STDDEV

2024-06-03 Thread Mihai Budiu (Jira)
Mihai Budiu created CALCITE-6427: Summary: Use a higher precision for DECIMAL intermediate results for some aggregate functions like STDDEV Key: CALCITE-6427 URL: https://issues.apache.org/jira/browse/CALCITE-6427

[jira] [Created] (CALCITE-6428) Typo in adapter documentation

2024-06-03 Thread Thad Guidry (Jira)
Thad Guidry created CALCITE-6428: Summary: Typo in adapter documentation Key: CALCITE-6428 URL: https://issues.apache.org/jira/browse/CALCITE-6428 Project: Calcite Issue Type: Improvement

Re: EnumerableTableScan array/multiset handling

2024-06-03 Thread Christian Beikov
Hi Julian, it seems to me that org.apache.calcite.rel.type.RelDataTypeFactoryImpl.JavaType, which is a subtype of RelDataType, would be the best place to model this. How about I add an Accessor contract and a field to JavaType to take care of producing expressions for the enumerable adapater?