QuestionQ59Verified/Transform DataCopy linkReport a problemAsk AstroTutorSave questionA Data Engineer is using the following query to work with semi-structured data: What is the output?ABCDShow AnswerAnswerExplanationFLATTEN uses KEY for object-member names and INDEX for array-element positions. Recursive flattening returns rows for all nested elements; filtering for INDEX IS NULL retains the object-member rows. The THIS LIKE '%Onyx%' condition selects the object containing Onyx, producing one row for each of its three keys: species, name, and is_dog.Learn moreFLATTEN | Snowflake DocumentationShow comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion