Jubin Soni created SPARK-57740:
----------------------------------
Summary: unix_micros, unix_millis, and unix_seconds See Also
sections are missing a cross-reference to unix_nanos
Key: SPARK-57740
URL: https://issues.apache.org/jira/browse/SPARK-57740
Project: Spark
Issue Type: Bug
Components: PySpark
Affects Versions: 4.3.0
Reporter: Jubin Soni
When {{unix_nanos}} was added to PySpark (SPARK-57579), its own {{See Also}}
section correctly links to all three sibling functions ({{{}unix_micros{}}},
{{{}unix_millis{}}}, {{{}unix_seconds{}}}). However, none of the three sibling
functions were updated to link back to {{{}unix_nanos{}}}.
A user reading the {{{}unix_micros{}}}, {{{}unix_millis{}}}, or
{{unix_seconds}} docstring will not discover the nanosecond-precision variant.
*Fix:* Add {{{}:meth:\{}}}pyspark.sql.functions.unix_nanos`{{{}to the{}}}See
Also{{{}sections of{}}}unix_micros{{{}, {}}}unix_millis{{{}, and
{}}}unix_seconds{{{}in{}}}python/pyspark/sql/functions/builtin.py`.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]