Mulavar commented on code in PR #21545:
URL: https://github.com/apache/flink/pull/21545#discussion_r1055592769
##########
flink-table/flink-table-planner/src/main/java/org/apache/flink/table/planner/hint/FlinkHintStrategies.java:
##########
@@ -62,8 +62,10 @@ public static HintStrategyTable createHintStrategyTable() {
// internal join hint used for alias
.hintStrategy(
FlinkHints.HINT_ALIAS,
- // currently, only join hints care about query block
alias
- HintStrategy.builder(HintPredicates.JOIN)
+ // currently, only correlate&join hints care about
query block alias
+ HintStrategy.builder(
+ HintPredicates.or(
+ HintPredicates.CORRELATE,
HintPredicates.JOIN))
.optionChecker(fixedSizeListOptionChecker(1))
Review Comment:
the fixedSizeListOptionChecker is used to validate alias hint, not lookup
hint.
--
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]