Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam SnowPro Core All Questions

View all questions & answers for the SnowPro Core exam

Exam SnowPro Core topic 1 question 89 discussion

Actual exam question from Snowflake's SnowPro Core
Question #: 89
Topic #: 1
[All SnowPro Core Questions]

The FLATTEN function is used to query which type of data in Snowflake?

  • A. Structured data
  • B. Semi-structured data
  • C. Both of the above
  • D. None of the above
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
DataEngineerNeeraj1
1 month, 1 week ago
Selected Answer: C
C
upvoted 1 times
...
aemilka
2 months, 2 weeks ago
Selected Answer: C
You can pass structured ARRAYs, structured OBJECTs, and MAPs to the FLATTEN function. https://docs.snowflake.com/en/sql-reference/data-types-structured#label-structured-types-working-flatten FLATTEN can be used to convert semi-structured data to a relational representation. https://docs.snowflake.com/en/sql-reference/functions/flatten So the answer is C. Both of the above
upvoted 1 times
...
omiiUST
3 months, 2 weeks ago
Selected Answer: A
The main purpose of FLATTEN is to Un-nest the semistructured data like JSON.
upvoted 1 times
...
Mallikharjuna452
4 months ago
It works for both
upvoted 1 times
...
372110c
4 months, 3 weeks ago
Selected Answer: C
Works with both
upvoted 2 times
...
MBrat
6 months ago
Selected Answer: C
C is correct, see https://docs.snowflake.com/en/sql-reference/data-types-structured#label-structured-types-working-flatten
upvoted 3 times
...
MultiCloudIronMan
1 year, 4 months ago
Selected Answer: B
Correct
upvoted 1 times
...
Mayuri917233
1 year, 6 months ago
Selected Answer: B
B is correct
upvoted 1 times
...
Tapasgup007
1 year, 11 months ago
Selected Answer: B
B is correct
upvoted 1 times
...
lhstudylh
2 years, 8 months ago
Selected Answer: B
Correct answer FLATTEN is used to unnest semi-structured data. Don't see an application for structured data as by definition it shouldn't be nested.
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...