xuyangzhong commented on code in PR #24077: URL: https://github.com/apache/flink/pull/24077#discussion_r1467317080
########## docs/content.zh/docs/dev/table/sql/queries/hints.md: ########## @@ -108,6 +108,39 @@ hintOption: | stringLiteral ``` +### 查询提示使用中的冲突 +#### Key-value 类型查询提示的冲突处理 +Key-value 类型的查询提示使用如下语法: + +```sql +hintName '(' optionKey '=' optionVal [, optionKey '=' optionVal ]* ')' +``` + +当 Key-value 类型的查询提示发生冲突时,Flink 会按顺序用后定义的查询提示覆盖前面定义的同名查询提示。 +对于下面的例子,包含同相同 key 的查询提示 'max-attempts': Review Comment: What about `在一个Key-value 类型的查询提示中存在重复的key时,Flink 会按顺序用后面的value覆盖前面的value`? -- 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