[
https://issues.apache.org/jira/browse/CALCITE-7581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mihai Budiu resolved CALCITE-7581.
----------------------------------
Fix Version/s: 1.43.0
Resolution: Fixed
Fixed in
[https://github.com/apache/calcite/commit/db16969e8987f3b25997229f4f9adfb8fe0ed329]
Thank you for the reviews [~asolimando] [~snuyanzin]
> RelDataTypeFactoryImpl.createStructType(List<>) should not be final
> -------------------------------------------------------------------
>
> Key: CALCITE-7581
> URL: https://issues.apache.org/jira/browse/CALCITE-7581
> Project: Calcite
> Issue Type: Bug
> Components: core
> Affects Versions: 1.42.0
> Reporter: Mihai Budiu
> Assignee: Mihai Budiu
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.43.0
>
>
> The method which creates a struct type from a list of fields is final. This
> makes it impossible to override this in a custom type factory, which in turn
> prevents custom type factories from creating RelRecordTypes of a different
> kind than the default StructKind.FULLY_QUALIFIED.
> This method is invoked e.g., from SqlValidatorImpl.validateSelectList
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)