Github user rxin commented on a diff in the pull request:
https://github.com/apache/spark/pull/6725#discussion_r32376356
--- Diff: python/pyspark/sql/functions.py ---
@@ -143,7 +143,8 @@ def _():
'atan2': 'Returns the angle theta from the conversion of rectangular
coordinates (x, y) to' +
'polar coordinates (r, theta).',
'hypot': 'Computes `sqrt(a^2^ + b^2^)` without intermediate overflow
or underflow.',
- 'pow': 'Returns the value of the first argument raised to the power of
the second argument.'
+ 'pow': 'Returns the value of the first argument raised to the power of
the second argument.',
+ 'log': 'Returns the first argument-based logarithm of the second
argument',
--- End diff --
can we define this function directly instead of using this magic?
---
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]