snuyanzin commented on code in PR #23223:
URL: https://github.com/apache/flink/pull/23223#discussion_r1342695582
##########
docs/layouts/shortcodes/generated/table_config_configuration.html:
##########
@@ -62,6 +62,12 @@
<td>String</td>
<td>The local time zone defines current session time zone id. It
is used when converting to/from <code>TIMESTAMP WITH LOCAL TIME
ZONE</code>. Internally, timestamps with local time zone are always
represented in the UTC time zone. However, when converting to data types that
don't include a time zone (e.g. TIMESTAMP, TIME, or simply STRING), the session
time zone is used during conversion. The input of option is either a full name
such as "America/Los_Angeles", or a custom timezone id such as "GMT-08:00".</td>
</tr>
+ <tr>
+ <td><h5>table.optimizer.query-hints.enabled</h5><br> <span
class="label label-primary">Batch</span> <span class="label
label-primary">Streaming</span></td>
Review Comment:
IMHO this naming leads to misunderstanding of behavior
from SQL point of view content of comments should not impact the output and
currently it is (depending on the property value it either returns a result or
throws an exception...) Or if we say we set the flag value to false (turn off
hint support) then depending on content of comment block in query it either
throws exception or returns a valid result...
It looks like it is breaking change and probably violation of SQL Standard...
At the same time jin ML there was mentioned Oracle behavior
https://docs.oracle.com/en/database/oracle/oracle-database/23/refrn/OPTIMIZER_IGNORE_HINTS.html#GUID-D62CA6D8-D0D8-4A20-93EA-EEB4B3144347
which returns valid result in both cases. The difference is that whether it
takes into account hints or not while building execution plan.
I'm curious why couldn't we go same way?
>IMHO this naming leads to misunderstanding of behavior
to get back here if we can follow Oracle's approach can we use `ignore`
instead of `enabled/disabled` in property name for this case?
--
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]