dawidwys commented on code in PR #23223:
URL: https://github.com/apache/flink/pull/23223#discussion_r1342858444
##########
flink-table/flink-table-planner/src/main/java/org/apache/calcite/sql2rel/SqlToRelConverter.java:
##########
@@ -776,6 +780,14 @@ protected void convertSelectImpl(final Blackboard bb,
SqlSelect select) {
convertOrder(select, bb, collation, orderExprList, select.getOffset(),
select.getFetch());
if (select.hasHints()) {
+ FlinkContext context = ShortcutUtils.unwrapContext(cluster);
+ if
(context.getTableConfig().get(TableConfigOptions.TABLE_QUERY_HINTS_IGNORE)) {
+ throw new ValidationException(
Review Comment:
@bvarghese1 Could you please confirm in the ML what was the agreed
behaviour? From the last few messages I assumed there was no disagreement on
the behaviour, but just the naming.
--
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]