Exam SnowPro Core All QuestionsBrowse all questions from this exam
Question 545

Which function produces a lateral view of a VARIANT column?

    Correct Answer: B

    The correct function to produce a lateral view of a VARIANT column is FLATTEN. FLATTEN is a table function in Snowflake that takes a VARIANT, OBJECT, or ARRAY column and produces a lateral view, making it possible to expand and query nested data structures.

Discussion
MultiCloudIronManOption: B

B is correct

okurokOption: B

https://docs.snowflake.com/en/sql-reference/functions/flatten#:~:text=FLATTEN%20is%20a%20table%20function%20that%20takes%20a%20VARIANT%2C%20OBJECT%2C%20or%20ARRAY%20column%20and%20produces%20a%20lateral%20view