フリー問題

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

問題文

A DataFrame column holds objects. Selecting a nested field with the indexing syntax returns values wrapped in double quotes. The report needs the plain values. What resolves it?

選択肢

  1. Cast the selected value to the wanted type, because field values are returned as string literals by default.
  2. Read the column with the reader and supply a schema, because a schema removes the quoting at read time.
  3. Apply a trim to remove the surrounding characters, which is the documented way to recover the plain value.
  4. Select the field with the path helper instead of the syntax, because the helper returns typed values while indexing returns literals.

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

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