Which of the following functions can be used to convert JSON string to Struct data type?
Which of the following functions can be used to convert JSON string to Struct data type?
A . TO_STRUCT (json value)
B. FROM_JSON (json value)
C. FROM_JSON (json value, schema of json)
D. CONVERT (json value, schema of json)
E. CAST (json value as STRUCT)
Answer: C
Explanation:
Syntax
Copy
Latest Databricks Certified Data Engineer Professional Practice Questions with 278 Q&As
Updated Study Material | Instant Download | Detailed Answers and Explanations
Subscribe
Login
0 Comments