Amazon Redshift will no longer support the creation of new Python UDFs starting November 1, 2025.
If you would like to use Python UDFs, create the UDFs prior to that date.
Existing Python UDFs will continue to function as normal. For more information, see the
blog post
Using JSON_PARSE to insert data into SUPER columns
You can insert or update JSON data into a SUPER column using the JSON_PARSE function. The function parses data in JSON format and converts it into the SUPER data type, which you can use in INSERT or UPDATE statements.
The following example inserts JSON data into a SUPER column. If the JSON_PARSE function is missing in the query, Amazon Redshift treats the value as a single string instead of a JSON-formatted string that must be parsed.
--Drop the table if it exists. DROP TABLE IF EXISTS test_json; --Create the table. CREATE TABLE test_json (all_data SUPER); --Populate the table. INSERT INTO test_json VALUES (JSON_PARSE(' { "name": { "first_name": "Jake", "last_name": "Smith" }, "age": 30, "hobby": "Biking" }' ) ); SELECT * FROM test_json; all_data --------- {"name":{"first_name":"Jake","last_name":"Smith"},"age":30,"hobby":"Biking"}