You are tasked with loading JSON files into Snowflake using Snowsight. The JSON files are semi-structured and contain nested arrays and objects. You want to flatten the JSON structure during the load process to facilitate easier querying. Which of the following Snowsight-integrated features or approaches are suitable for flattening the JSON data during the load process? Select all that apply.
Correct Answer: A,C,E
Options A, C, and E are all suitable approaches for flattening JSON data. Option A leverages 'LATERAL FLATTEN' in SQL, which is a common and efficient way to flatten JSON structures after loading into a VARIANT column. Option C utilizes Snowpipe with a transformation including 'LATERAL FLATTEN' , enabling automatic flattening during ingestion. Option E uses computed columns in Snowsight to extract JSON elements during loading using 'GET_PATH' or the operator. Option B is incorrect; Snowsight's 'Load Data' wizard doesn't automatically flatten JSON during the initial load. It mainly handles the basic load of the JSON file into a VARIANT column, not automatic flattening. Option D is a valid but less performant alternative; UDFs can be slower than native Snowflake SQL functions for large datasets.