フリー問題

SnowPro Specialty: Snowpark のフリー問題 1 / 20 問目

問題文

A specialist must add a piece of Python logic that takes one value per row and returns one value per row, and it has to be callable from ordinary SQL written by analysts who do not use Python. Which Snowpark construct fits?

選択肢

  1. An anonymous function assigned to a variable, which is the form that makes the logic reusable from other sessions later on.
  2. A user-defined table function, because a named function that SQL can call has to return rows rather than a single value.
  3. A user-defined function, registered with a name so that SQL can call it like any built-in scalar function.
  4. A stored procedure, because only a procedure can be registered under a name and granted to a role for use by other users.

解答・解説を確認するには

正解と解説の確認、回答の記録には無料登録が必要です。登録すると演習モードでフリー問題に回答し、正誤と解説をその場で確認できます。