
Answer-first summary for fast verification
Answer: Scalar, Tabular
Based on Snowflake documentation and the community discussion consensus (100% agreement on DE), User-Defined Functions (UDFs) in Snowflake can return two types of values: Scalar (single value) and Tabular (table-like result set). The documentation referenced in the discussion confirms this categorization. Options A (Dictionary), B (List), and C (Object) are not the primary categorization used by Snowflake for UDF return types - while UDFs might internally work with these data structures, the official classification is based on whether they return a single value (Scalar) or multiple rows/columns (Tabular).
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.