Skip to content

Commit dc35731

Browse files
committed
Removing unnecessary quotes.
1 parent 86f6886 commit dc35731

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/pyspark/sql/functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2249,7 +2249,7 @@ def schema_of_json(col):
22492249
:param col: string column in json format
22502250
22512251
>>> from pyspark.sql.types import *
2252-
>>> data = [(1, '''{"a": 1}''')]
2252+
>>> data = [(1, '{"a": 1}')]
22532253
>>> df = spark.createDataFrame(data, ("key", "value"))
22542254
>>> df.select(schema_of_json(df.value).alias("json")).collect()
22552255
[Row(json=u'struct<a:bigint>')]

0 commit comments

Comments
 (0)