Github user HyukjinKwon commented on a diff in the pull request:

    https://github.com/apache/spark/pull/17901#discussion_r115402276
  
    --- Diff: python/pyspark/sql/functions.py ---
    @@ -144,12 +144,6 @@ def _():
                    'measured in radians.',
     }
     
    -_functions_2_2 = {
    -    'to_date': 'Converts a string date into a DateType using the 
(optionally) specified format.',
    -    'to_timestamp': 'Converts a string timestamp into a timestamp type 
using the ' +
    -                    '(optionally) specified format.',
    -}
    -
    --- End diff --
    
    Up to my knowledge, these were for defining single argumented function that 
takes a column conveniently but we are defining them below already and both 
look taking additional format argument. Finally both look having the 
annotatioms correctly.
    
    Let me double check and address this comment if possible.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

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

Reply via email to