ExamGecko
Question list
Search
Search

Question 25 - DSA-C02 discussion

Report
Export

Mark the incorrect statement regarding Python UDF?

A.
Python UDFs can contain both new code and calls to existing packages
Answers
A.
Python UDFs can contain both new code and calls to existing packages
B.
For each row passed to a UDF, the UDF returns either a scalar (i.e. single) value or, if defined as a table function, a set of rows.
Answers
B.
For each row passed to a UDF, the UDF returns either a scalar (i.e. single) value or, if defined as a table function, a set of rows.
C.
A UDF also gives you a way to encapsulate functionality so that you can call it repeatedly from multiple places in code
Answers
C.
A UDF also gives you a way to encapsulate functionality so that you can call it repeatedly from multiple places in code
D.
A scalar function (UDF) returns a tabular value for each input row
Answers
D.
A scalar function (UDF) returns a tabular value for each input row
Suggested answer: D

Explanation:

A scalar function (UDF) returns one output row for each input row. The returned row consists of a single column/value

asked 23/09/2024
Ramesh Kumar Patel
32 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first