HyukjinKwon commented on code in PR #57359:
URL: https://github.com/apache/spark/pull/57359#discussion_r3620358134


##########
python/pyspark/sql/dataframe.py:
##########
@@ -1206,6 +1206,8 @@ def hint(
         :class:`DataFrame`
             Hinted DataFrame
 
+        .. note:: See also `Hints 
<https://spark.apache.org/docs/latest/sql-ref-syntax-qry-select-hints.html>`

Review Comment:
   This link is missing the trailing underscore, so reST renders it as literal 
text (backticks and URL shown verbatim) rather than a hyperlink. External links 
need the closing `` `_ ``:
   
   ```suggestion
           .. note:: See also `Hints 
<https://spark.apache.org/docs/latest/sql-ref-syntax-qry-select-hints.html>`_
   ```
   
   Compare the existing links in the codebase, e.g. `` `NaN Semantics <...>`_ 
`` in `column.py`. Given this PR is specifically fixing doc links, worth 
getting this one right too.



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to