[
https://issues.apache.org/jira/browse/FLINK-38149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Timo Walther closed FLINK-38149.
--------------------------------
Fix Version/s: 2.1.1
Assignee: Ramin Gharib
Resolution: Fixed
Fixed in release-2.1: 9aa85b0adabe42ba558591e9eaa4939f43e09b64
> Convert COLUMN_LIST to DescriptorType
> -------------------------------------
>
> Key: FLINK-38149
> URL: https://issues.apache.org/jira/browse/FLINK-38149
> Project: Flink
> Issue Type: Bug
> Reporter: Ramin Gharib
> Assignee: Ramin Gharib
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.1.1
>
>
>
> Currently, in the method
> [toLogicalTypeNotNull|https://github.com/raminqaf/flink/blob/main/flink-table/flink-table-planner/src/main/java/org/apache/flink/table/planner/typeutils/LogicalRelDataTypeConverter.java#L474-L474]
> method, the COLUMN_LIST cannot be converte to its logical type
> (DescritorType)
> {code:java}
> case REAL:
> case TIME_WITH_LOCAL_TIME_ZONE:
> case ANY:
> case CURSOR:
> case COLUMN_LIST:
> case DYNAMIC_STAR:
> case GEOMETRY:
> case SARG:
> default:
> throw new TableException("Unsupported RelDataType: " + relDataType);
> {code}
> We should move it and add:
> {code:java}
> case COLUMN_LIST:
> return new DescriptorType(false); {code}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)