bvarghese1 commented on code in PR #23223: URL: https://github.com/apache/flink/pull/23223#discussion_r1340705768
########## flink-table/flink-table-planner/src/main/java/org/apache/calcite/sql2rel/SqlToRelConverter.java: ########## @@ -777,6 +781,16 @@ protected void convertSelectImpl(final Blackboard bb, SqlSelect select) { if (select.hasHints()) { final List<RelHint> hints = SqlUtil.getRelHint(hintStrategies, select.getHints()); + if (!hints.isEmpty()) { Review Comment: Moved the config check before extracting the hints. -- 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: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org