We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be5aff1 commit 68eb043Copy full SHA for 68eb043
python/pyspark/sql/functions.py
@@ -367,7 +367,8 @@ def randn(seed=None):
367
@ignore_unicode_prefix
368
@since(1.5)
369
def sha1(col):
370
- """
+ """Returns the hex string result of SHA-1.
371
+
372
>>> sqlContext.createDataFrame([('ABC',)], ['a']).select(sha1('a').alias('hash')).collect()
373
[Row(hash=u'3c01bdbb26f358bab27f267924aa2c9a03fcfdb8')]
374
"""
0 commit comments