Cyber Monday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Snowflake Exam DSA-C02 Topic 4 Question 34 Discussion

Actual exam question for Snowflake's DSA-C02 exam
Question #: 34
Topic #: 4
[All DSA-C02 Questions]

Data Scientist used streams in ELT (extract, load, transform) processes where new data inserted in-to a staging table is tracked by a stream. A set of SQL statements transform and insert the stream contents into a set of production tables. Raw data is coming in the JSON format, but for analysis he needs to transform it into relational columns in the production tables. which of the following Data transformation SQL function he can used to achieve the same?

Show Suggested Answer Hide Answer
Suggested Answer: B

To know about lateral flatten SQL Function, please refer:

https://docs.snowflake.com/en/sql-reference/constructs/join-lateral#example-of-using-lateral-with-flatten


Contribute your Thoughts:

James
1 days ago
I agree with Cory, lateral flatten() function is commonly used for this type of transformation.
upvoted 0 times
...
Cory
14 days ago
I think the Data Scientist can use lateral flatten() function for transforming the JSON data into relational columns.
upvoted 0 times
...
Emiko
24 days ago
Hold up, option A? Really? You can't apply transformations on stream data? That's just nonsense!
upvoted 0 times
...
Erinn
26 days ago
Hmm, I'd go with option B. Lateral flatten() seems like the perfect SQL function to transform that JSON data into relational columns.
upvoted 0 times
Gretchen
11 days ago
I think METADATA$ACTION () might also work for this transformation.
upvoted 0 times
...
Kirk
14 days ago
I agree, lateral flatten() is the way to go for transforming JSON data.
upvoted 0 times
...
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77