問題文
A developer builds a chain of six DataFrame operations in a local script, runs the script, and sees it finish in well under a second. The query history in Snowflake shows no new statement for that script. The developer expected the six operations to have been processed already. What accounts for the observation?
選択肢
- A DataFrame is evaluated lazily, so the chain only records the plan and no SQL reaches the server until an action is called.
- The script used a session created in local testing mode, which keeps every operation on the developer's own machine.
- The six operations were executed but the query history hides statements that a client library issues on behalf of a DataFrame.
- Snowpark caches the plan on the client and sends it in a single batch when the session is closed, so nothing appears in the history until that moment.