seb-pereira commented on code in PR #27445:
URL: https://github.com/apache/flink/pull/27445#discussion_r2712726390
##########
flink-table/flink-table-planner/src/main/java/org/apache/flink/table/planner/operations/converters/SqlNodeConvertUtils.java:
##########
@@ -85,7 +85,7 @@ static CatalogView toCatalogView(
context.getSqlValidator().getNamespace(validateQuery);
validateDuplicatedColumnNames(query, viewFields, validatedNamespace);
Review Comment:
Good catch. Change done through a5e80f32d7d6e5171292b4155987f63605a0f7f5. No
regression reported by existing flink-table/flink-table-planner unit tests. I
checked and found no other places where SqlValidator.validate() input parameter
is re-used after its call.
--
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]