sarutak commented on a change in pull request #34196:
URL: https://github.com/apache/spark/pull/34196#discussion_r723274599
##########
File path: python/pyspark/sql/functions.py
##########
@@ -3329,7 +3329,7 @@ def octet_length(col: "ColumnOrName") -> Column:
Byte length of the col
Examples
- -------
+ --------
>>> from pyspark.sql.functions import octet_length
>>> spark.createDataFrame([('cat',), ( '\U0001F408',)], ['cat']) \
.select(octet_length('cat')).collect()
Review comment:
```suggestion
>>> spark.createDataFrame([('cat',), ( '\U0001F408',)], ['cat']) \\
... .select(octet_length('cat')).collect()
```
##########
File path: python/pyspark/sql/functions.py
##########
@@ -3355,7 +3355,7 @@ def bit_length(col: "ColumnOrName") -> Column:
Bit length of the col
Examples
- -------
+ --------
>>> from pyspark.sql.functions import bit_length
>>> spark.createDataFrame([('cat',), ( '\U0001F408',)], ['cat']) \
.select(bit_length('cat')).collect()
Review comment:
```suggestion
>>> spark.createDataFrame([('cat',), ( '\U0001F408',)], ['cat']) \\
... .select(bit_length('cat')).collect()
```
--
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]