ldadima commented on code in PR #27907:
URL: https://github.com/apache/flink/pull/27907#discussion_r3071790289


##########
flink-table/flink-table-planner/src/main/java/org/apache/flink/table/planner/operations/converters/SqlNodeConvertUtils.java:
##########
@@ -87,7 +87,7 @@ static CatalogView toCatalogView(
                 context.getSqlValidator().getNamespace(validateQuery);
         validateDuplicatedColumnNames(validateQuery, viewFields, 
validatedNamespace);
 
-        String expandedQuery = context.toQuotedSqlString(validateQuery);
+        String expandedQuery = context.expandSqlIdentifiers(originalQuery);

Review Comment:
   Yes, indeed, you are right. 
   But then I don't understand why solution for 
[FLINK-38493](https://issues.apache.org/jira/browse/FLINK-38493) is correct. 
Can you help me to understand?
   
   Code before [FLINK-38493](https://issues.apache.org/jira/browse/FLINK-38493)
   <img width="1208" height="216" alt="image" 
src="https://github.com/user-attachments/assets/e8621757-9d0f-484c-b00e-61693da4bad3";
 />
   



-- 
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]

Reply via email to