diff --git a/src/main/scala/com/snowflake/snowpark/functions.scala b/src/main/scala/com/snowflake/snowpark/functions.scala index cc59f6d7..31cf1b46 100644 --- a/src/main/scala/com/snowflake/snowpark/functions.scala +++ b/src/main/scala/com/snowflake/snowpark/functions.scala @@ -3149,7 +3149,11 @@ object functions { *
  • Identifiers with spaces: Snowflake returns error when an invalid expression is sent.
  • * * Usage: - * df = session.createDataFrame(Seq(("CR", "{\"id\": 5, \"name\": \"Jose\", \"age\": 29}"))).toDF(Seq("nationality", "json_string")) + * { + * df = session.createDataFrame(Seq(("CR", "{\"id\": 5, + * \"name\": \"Jose\", \"age\": 29}"))) + * .toDF(Seq("nationality", "json_string")) + * } * When the result of this function is the only part of * the select statement, no changes are needed * df.select(json_tuple(col("json_string"), "id", "name", "age")).show()