swuferhong commented on PR #20513:
URL: https://github.com/apache/flink/pull/20513#issuecomment-1217382778

   > @swuferhong for the structure of the document, my suggestion is like 
follows:
   > 
   > ## Query Hints
   > some description...
   > 
   > ### Syntax
   > ```sql
   > query hints:
   > 
   > SELECT /*+ hint [, hint ]* */
   > 
   > hint:
   >       hintName
   >   |   hintName '(' optionKey '=' optionVal [, optionKey '=' optionVal ]* 
')'
   >   |   hintName '(' hintOption [, hintOption ]* ')'
   > 
   > optionKey:
   >       simpleIdentifier
   >   |   stringLiteral
   > 
   > optionVal:
   >       stringLiteral
   > 
   > hintOption:
   >       simpleIdentifier
   >    |  numericLiteral
   >    |  stringLiteral
   > ```
   > 
   > ### Join Hints
   > some description...
   > 
   > #### Join Hints - BROADCAST
   > {{< label Batch >}}
   > 
   > #### Join Hints - SHUFFLE_HASH
   > {{< label Batch >}}
   > 
   > #### Join Hints - SHUFFLE_MERGE
   > {{< label Batch >}}
   > 
   > #### Join Hints - NEST_LOOP
   > {{< label Batch >}}
   > 
   > // the LOOKUP for streaming will be added in #20577
   > 
   > #### Join Hints - LOOKUP
   > {{< label Streaming >}}
   
   Thanks very much, I have adjusted the structure to the above structure.


-- 
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

Reply via email to