Introduction
Currently, reading all elements in JSON array is not possible in Redshift. For e.g. if you want to read Manufacturer and model as columns from following JSON
dim_id | number | info | manufacturer | model |
200 | 1 | Nissan~Sentra^Nissan~Maxima^Ford~Taurus^Ford~Escort^ | Nissan | Sentra |
200 | 2 | Nissan~Sentra^Nissan~Maxima^Ford~Taurus^Ford~Escort^ | Nissan | Maxima |
200 | 3 | Nissan~Sentra^Nissan~Maxima^Ford~Taurus^Ford~Escort^ | Ford | Taurus |
200 | 4 | Nissan~Sentra^Nissan~Maxima^Ford~Taurus^Ford~Escort^ | Ford | Escort |