問題文
A pipeline must convert the contents of staged files and leave the converted output on a stage, all without returning file contents to the client. Which construct is the documented fit when the conversion has several steps and needs to be called by name from a scheduled job?
選択肢
- A DataFrame chain with the writer, because writing to a stage is only possible through the copy operation of the stage that the writer exposes for files.
- A table function, because returning several output files per input file requires a tabular return value.
- A stored procedure that opens the input, with the file class, and writes the result with the new-result form of the same class.
- A scalar function, because only a function can be granted to a role, and called from a scheduled job by name.