
Answer-first summary for fast verification
Answer: PATH, INDEX
The correct answers are B (PATH) and D (INDEX) because these are standard output columns of the Snowflake FLATTEN function. According to Snowflake documentation and the community consensus (with BD receiving 100% agreement and multiple references to official documentation), the FLATTEN function returns columns including SEQ, KEY, PATH, INDEX, VALUE, and THIS. Among the given options, PATH represents the path to the element within the data structure being flattened, and INDEX represents the array index when flattening arrays. CONTENT (A) is not a standard FLATTEN output column, BYTE_SIZE (C) is unrelated to FLATTEN's purpose of unnesting data, and DATATYPE (E) is not part of the FLATTEN result set.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.