davidradl commented on code in PR #26799:
URL: https://github.com/apache/flink/pull/26799#discussion_r2206824261
##########
flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/catalog/DataTypeFactoryImpl.java:
##########
@@ -114,15 +111,18 @@ public <T> DataType createRawDataType(TypeInformation<T>
typeInfo) {
@Override
public LogicalType createLogicalType(String typeString) {
final LogicalType parsedType = LogicalTypeParser.parse(typeString,
classLoader);
- return parsedType.accept(resolver);
+ if (LogicalTypeChecks.hasNested(parsedType, t ->
t.is(LogicalTypeRoot.UNRESOLVED))) {
Review Comment:
nit: I realise this is a backport. I wondered if we could add the typeString
as an insert to the Exception message to help diagnostics. WDYT?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]