json_serialization_parse_nested_strings - Amazon Redshift

Amazon Redshift 自 2025 年 11 月 1 日起不再支援建立新的 Python UDF。如果您想要使用 Python UDF,請在該日期之前建立 UDF。現有 Python UDF 將繼續正常運作。如需詳細資訊,請參閱部落格文章

json_serialization_parse_nested_strings

值 (粗體為預設值)

false、true

說明

修改 ORC、JSON、Ion 和 Parquet 格式資料的 JSON 序列化行為的工作階段組態。當 json_serialization_parse_nested_stringsjson_serialization_enable 都為 true 時,則會剖析儲存在複雜類型 (例如對應、結構或陣列) 中的字串值,並直接以內嵌方式寫入結果中,但前提是字串值是有效的 JSON.。如果 json_serialization_parse_nested_strings 為 false,則巢狀複雜類型中的字串會序列化為逸出的 JSON 字串。如需更多詳細資訊,請參閱 序列化包含 JSON 字串的複雜類型