Câu 49: SnowPro Advanced Data Engineer
A Data Engineer enables a result cache at the session level with the following command:ALTER SESSION SET USE_CACHED_RESULT = TRUE;The Engineer then runs the following SELECT query twice without delay:SELECT *FROM SNOWFLAKE_SAMPLE_DATA.TPCH_SF1.CUSTOMERSAMPLE(10) SEED (99);The underlying table does not change between e…
Nội dung câu hỏi
A Data Engineer enables a result cache at the session level with the following command:ALTER SESSION SET USE_CACHED_RESULT = TRUE;The Engineer then runs the following SELECT query twice without delay:SELECT *FROM SNOWFLAKE_SAMPLE_DATA.TPCH_SF1.CUSTOMERSAMPLE(10) SEED (99);The underlying table does not change between executions. What are the results of both runs?
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. The first and second run returned the same results, because SAMPLE is deterministic.
- B. The first and second run returned the same results, because the specific SEED value was provided. — đáp án hiện tại
- C. The first and second run returned different results, because the query is evaluated each time it is run.
- D. The first and second run returned different results, because the query uses * instead of an explicit column list.
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.