Exam4Training

Which of the following code blocks creates this SQL UDF?

A data engineer needs to apply custom logic to string column city in table stores for a specific use case. In order to apply this custom logic at scale, the data engineer wants to create a SQL user-defined function (UDF).

Which of the following code blocks creates this SQL UDF?

A)

B)

C)

D)

E)

A . Option A
B . Option B
C . Option C
D . Option D
E . Option E

Answer: A

Explanation:

https://www.databricks.com/blog/2021/10/20/introducing-sql-user-defined-functions.html

Exit mobile version