QuestionQ16

VerifiedData science concepts

A Data Scientist runs a SQL NULL argument through a Python User-Defined Function (UDF) using a Snowflake string data type.

What translated Python value is returned?

Explanation

For Python UDFs, Snowflake translates a SQL NULL argument to Python None for every Snowflake data type except VARIANT. A Snowflake string type therefore produces None.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!