Maxim Gekk created SPARK-24543: ---------------------------------- Summary: Support any DataType as DDL string for from_json's schema Key: SPARK-24543 URL: https://issues.apache.org/jira/browse/SPARK-24543 Project: Spark Issue Type: Improvement Components: SQL Affects Versions: 2.3.1 Reporter: Maxim Gekk
Currently, schema for from_json can be specified as DataType or a string in the following formats: * in SQL, as sequence of fields like _INT a, STRING b * in Scala, Python and etc, in JSON format or as in SQL The ticket aims to support arbitrary DataType as DDL string for from_json. For example: {code:sql} select from_json('{"a":1, "b":2}', 'map<string, int>') {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org