Câu 35: Databricks Certified Associate Developer for Apache Spark
The code block shown below should create and register a SQL UDF named "ASSESS_PERFORMANCE" using the Python function assessPerformance() and apply it to column customerSatisfaction in table stores. Choose the response that correctly fills in the numbered blanks within the code block to complete this task. Code block:s…
Nội dung câu hỏi
The code block shown below should create and register a SQL UDF named "ASSESS_PERFORMANCE" using the Python function assessPerformance() and apply it to column customerSatisfaction in table stores. Choose the response that correctly fills in the numbered blanks within the code block to complete this task. Code block:spark._1_._2_(_3_, _4_)spark.sql("SELECT customerSatisfaction, _5_(customerSatisfaction) AS result FROM stores")
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. 1. udf2. register3. "ASSESS_PERFORMANCE"4. assessPerformance5. ASSESS_PERFORMANCE — đáp án hiện tại
- B. 1. udf2. register3. assessPerformance4. "ASSESS_PERFORMANCE"5. "ASSESS_PERFORMANCE"
- C. 1. udf2. register3."ASSESS_PERFORMANCE"4. assessPerformance5. "ASSESS_PERFORMANCE"
- D. 1. register2. udf3. "ASSESS_PERFORMANCE"4. assessPerformance5. "ASSESS_PERFORMANCE"
- E. 1. udf2. register3. ASSESS_PERFORMANCE4. assessPerformance5. ASSESS_PERFORMANCE
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.