snuyanzin commented on code in PR #27319:
URL: https://github.com/apache/flink/pull/27319#discussion_r2588938251


##########
flink-table/flink-table-planner/src/test/resources/org/apache/flink/table/planner/plan/batch/sql/agg/AggregateReduceGroupingTest.xml:
##########
@@ -381,7 +381,7 @@ LogicalProject(a4=[$0], b4=[$1], EXPR$2=[$3])
     </Resource>
     <Resource name="optimized exec plan">
       <![CDATA[
-HashWindowAggregate(groupBy=[a4], auxGrouping=[b4], 
window=[TumblingGroupWindow('w$, d4, 900000)], select=[a4, b4 AS EXPR$2, 
COUNT(c4) AS EXPR$2])
+HashWindowAggregate(groupBy=[a4], auxGrouping=[b4], 
window=[TumblingGroupWindow('w$, d4, 900000)], select=[a4, b4, COUNT(c4) AS 
EXPR$2])

Review Comment:
   Do I understand correctly that if we have a test like 
   1. unparse optimized version to SQL
   2. validate SQL
   3. apply for all (at least compiled plan related) tests then we could 
potentially spot more issues like that
   ?



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